moving packages
This commit is contained in:
parent
815c729478
commit
41fc569409
20 changed files with 0 additions and 0 deletions
31
extra/exa/build.sh
Normal file
31
extra/exa/build.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
pkgname=exa
|
||||
pkgver=0.9.0
|
||||
ext="doc"
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/ogham/exa/archive/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
ln -s /usr/bin/gmake make
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
PATH=$(pwd)"/..:$PATH" cargo build --release --locked --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd target/release
|
||||
install -Dm755 "$pkgname" "$pkgdir/usr/bin/"
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
cd contrib/man
|
||||
install -Dm644 $pkgname.1 $pkgdir/usr/share/man/man1/
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENCE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue