diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2020-01-21 18:30:29 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-01-21 18:30:29 +0000 |
commit | 2c7891f0cd17a3010261698b53e60bc4f2bbb468 (patch) | |
tree | 50a51c4d093d1e8b20a22bf8fe7fb8b5b8bff070 | |
parent | 7c9e4cce9484f6b6b5db6ae876876efa15f6bbb3 (diff) | |
download | aports-2c7891f0cd17a3010261698b53e60bc4f2bbb468.tar.bz2 aports-2c7891f0cd17a3010261698b53e60bc4f2bbb468.tar.xz |
main/samurai: install ninja symlink, add provides/replaces
-rw-r--r-- | main/samurai/APKBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/samurai/APKBUILD b/main/samurai/APKBUILD index 5a7054ad6d..5e77002934 100644 --- a/main/samurai/APKBUILD +++ b/main/samurai/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Drew DeVault <sir@cmpwn.com> pkgname=samurai pkgver=1.0 -pkgrel=0 +pkgrel=1 pkgdesc="ninja-compatible build tool written in C" url="https://github.com/michaelforney/samurai" arch="all" @@ -13,13 +13,12 @@ source="https://github.com/michaelforney/samurai/releases/download/$pkgver/$pkgn builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" make } package() { - cd "$builddir" make install PREFIX="/usr" DESTDIR="$pkgdir" + ln -s samu "$pkgdir"/usr/bin/ninja } sha512sums="87b2a11a39dc36f3582abdc7c9d358c8fce241fe4155b5177d3e8588d1c040a62eb9daafd2365febbfadd6fcc27a3ceacf6f29ca6f871c822aad6f4bad527a51 samurai-1.0.tar.gz" |