diff options
author | TBK <tbk@jjtc.dk> | 2017-10-26 20:05:56 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-10-27 12:53:13 +0000 |
commit | a23d00148f7a49d30f751e8f164c36a74f58e7cc (patch) | |
tree | c5a136e9621ac9addb8d41af9ce1d8400b7543b6 /main/dialog | |
parent | 5bd433f05e4da436db697b10de362b1e5df1a376 (diff) | |
download | aports-a23d00148f7a49d30f751e8f164c36a74f58e7cc.tar.bz2 aports-a23d00148f7a49d30f751e8f164c36a74f58e7cc.tar.xz |
main/dialog: upgrade to 1.3-20170509; modernize
Diffstat (limited to 'main/dialog')
-rw-r--r-- | main/dialog/APKBUILD | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD index ba0126baa5..28ff4ebff5 100644 --- a/main/dialog/APKBUILD +++ b/main/dialog/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dialog -_realver=1.3-20160209 +_realver=1.3-20170509 pkgver=${_realver/-/.} pkgrel=0 pkgdesc="A script-interpreter which provides a set of curses" @@ -10,13 +10,12 @@ arch="all" license="GPL" depends= makedepends="ncurses-dev" -install= subpackages="$pkgname-doc" -source="ftp://invisible-island.net/$pkgname/$pkgname-$_realver.tgz" +source="ftp://ftp.invisible-island.net/$pkgname/$pkgname-$_realver.tgz" +builddir="$srcdir"/$pkgname-$_realver -_builddir="$srcdir"/$pkgname-$_realver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,16 +23,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --with-ncursesw \ - || return 1 - make || return 1 + --with-ncursesw + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } -md5sums="c60823a4b09e12f8ae79036f05885ba4 dialog-1.3-20160209.tgz" -sha256sums="0314f7f2195edc58e7567a024dc1d658c2f8ea732796d8fa4b4927df49803f87 dialog-1.3-20160209.tgz" -sha512sums="77ad7698c8acc9ec2c4a8e76d73972ed3ee8d323cdb8cb18fbe496ebe4a6c8be873e0e2ecf66bbeb7eb6c398d0ca125969cb068e89c33a17521e1e1b913b1e4a dialog-1.3-20160209.tgz" +sha512sums="dd3fe2041a15dd344ea39a1ba111d3b26daca1cda91a4e82f1223385a49cdf3de15f11129366a20c5a24b16b5301f215543850a390d70d0559f98247bbd49a56 dialog-1.3-20170509.tgz" |