diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-05-14 11:47:27 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-08 14:44:50 +0000 |
commit | 70df626926fde654b2267bd60b1324ca904d66e8 (patch) | |
tree | 7ce7c3f9c3624a97a60c93fda950e5334d26b404 /main/wv | |
parent | 0e60ba4ffc12bb576048e21492ca085eec454a31 (diff) | |
download | aports-70df626926fde654b2267bd60b1324ca904d66e8.tar.bz2 aports-70df626926fde654b2267bd60b1324ca904d66e8.tar.xz |
main/wv: modernize abuild
Diffstat (limited to 'main/wv')
-rw-r--r-- | main/wv/APKBUILD | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/main/wv/APKBUILD b/main/wv/APKBUILD index b219fcc15b..5d23fe0107 100644 --- a/main/wv/APKBUILD +++ b/main/wv/APKBUILD @@ -11,27 +11,25 @@ depends="" makedepends="libgsf-dev libpng-dev bzip2-dev coreutils" source="http://www.abisource.com/downloads/wv/$pkgver/wv-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - update_config_sub || return 1 -# patch -p1 -i "$srcdir"/fix-soname.patch + update_config_sub + default_prepare } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 + --mandir=/usr/share/man + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="ae5c762012595ce8922bfda8749ad3e9cb055edab30152c3a5feaaf3ca6601f357d1e301b179e9a5860cd99452dd6e63e5f44f5bcc12f8db148bdd334e0200a5 wv-1.2.9.tar.gz" |