diff options
author | dai9ah <dai9ah@protonmail.com> | 2018-02-19 14:32:58 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-23 15:22:55 +0100 |
commit | 5d9af5c4e2d69bb46e40284292c78c68e3608d8d (patch) | |
tree | 80a47fd36aa2d1a08435765d84ed2ec24b867bc0 /community/wavemon | |
parent | 2de8ed5a460f73ee852a0f9dc5e628fda4ae944b (diff) | |
download | aports-5d9af5c4e2d69bb46e40284292c78c68e3608d8d.tar.bz2 aports-5d9af5c4e2d69bb46e40284292c78c68e3608d8d.tar.xz |
community/wavemon: upgrade to 0.8.2 and modernize abuild
Diffstat (limited to 'community/wavemon')
-rw-r--r-- | community/wavemon/APKBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/community/wavemon/APKBUILD b/community/wavemon/APKBUILD index 0fc58b6ab5..0f52e175a5 100644 --- a/community/wavemon/APKBUILD +++ b/community/wavemon/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=wavemon -pkgver=0.8.1 +pkgver=0.8.2 pkgrel=0 pkgdesc="Ncurses-based monitoring application for wireless network devices" url="https://github.com/uoaerg/wavemon" @@ -14,37 +14,35 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/uoaerg/$pkgname/archive/v$pk builddir="$srcdir/$pkgname-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" - update_config_sub || return 1 + update_config_sub - sed -i '/^CFLAGS/d' configure.ac || return 1 - autoreconf -fi || return 1 + sed -i '/^CFLAGS/d' configure.ac + autoreconf -fi } build() { cd "$builddir" + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make CFLAGS="$CFLAGS -pthread -I/usr/include/libnl3" || return 1 + --localstatedir=/var + make CFLAGS="$CFLAGS -pthread -I/usr/include/libnl3" } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/ } -md5sums="ded8a276667493a433e554be1c0521f4 wavemon-0.8.1.tar.gz" -sha256sums="c9ea57da4f8161401bcaaca17b37bcdf16ffb88baad2370afed2e15a7f71af73 wavemon-0.8.1.tar.gz" -sha512sums="6614e7591a55f76cc11391d1694ed8ad786adcf564c4cb1a8b52ce2b4eb591f2da239065ce274aa5e065d799479c65d3dabed3c228b851892f0a989b7ac36eb9 wavemon-0.8.1.tar.gz" +sha512sums="383e8444602f1262015e5706ad76ae0cfd5ff9560cf8037edc92242bd89c1f8d4044a83d24009cac2c25b5bf3bda3ef52f0302d2ff0f21959c51ffdebe76ef25 wavemon-0.8.2.tar.gz" |