diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-11 02:37:04 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-11 02:37:45 +0200 |
commit | 962e63badc4312bec35a7f39a14d035a1f31d007 (patch) | |
tree | 697e3115e6a3ad52d4c77126ba9261993a8e7f0c /testing | |
parent | 62cd572ef934d84163603827a12cc6031984cc1d (diff) | |
download | aports-962e63badc4312bec35a7f39a14d035a1f31d007.tar.bz2 aports-962e63badc4312bec35a7f39a14d035a1f31d007.tar.xz |
testing/unibilium: improve abuild
Diffstat (limited to 'testing')
-rw-r--r-- | testing/unibilium/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/testing/unibilium/APKBUILD b/testing/unibilium/APKBUILD index 71a09780bd..534a285e6e 100644 --- a/testing/unibilium/APKBUILD +++ b/testing/unibilium/APKBUILD @@ -10,18 +10,17 @@ license="LGPL3" depends="" depends_dev="libtool" makedepends="$depends_dev" -install="" subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/mauke/unibilium/archive/v$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/mauke/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" -_builddir="$srcdir"/"$pkgname"-"$pkgver" build() { - cd "$_builddir" + cd "$builddir" make PREFIX=/usr || return 1 } package() { - cd "$_builddir" + cd "$builddir" make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 } |