diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-06 21:52:55 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-06 21:52:55 +0100 |
commit | 8127f74be66057dcf18a0b1b8d17c31fc9a2e95f (patch) | |
tree | 4dd7f5ea8855528f685e32e788fdfdde5dc21a87 /main | |
parent | 37829a27be624cfb37bee90e64d53f53d5419836 (diff) | |
download | aports-8127f74be66057dcf18a0b1b8d17c31fc9a2e95f.tar.bz2 aports-8127f74be66057dcf18a0b1b8d17c31fc9a2e95f.tar.xz |
main/goaccess: improve abuild
Diffstat (limited to 'main')
-rw-r--r-- | main/goaccess/APKBUILD | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/main/goaccess/APKBUILD b/main/goaccess/APKBUILD index fdd71a2bbb..0f4783d07f 100644 --- a/main/goaccess/APKBUILD +++ b/main/goaccess/APKBUILD @@ -9,26 +9,13 @@ url="http://goaccess.prosoftcorp.com/" arch="all" license="GPL2+" depends="" -depends_dev="" makedepends="ncurses-dev geoip-dev glib-dev" -install="" subpackages="$pkgname-doc" source="http://tar.goaccess.io/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -43,7 +30,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |