diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-29 12:53:31 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-29 12:53:31 +0000 |
commit | e9da29778face33ecd7de4927b8507c79397cdc3 (patch) | |
tree | 37fdd6a45ef76d66df63092d41bcaf16da731c1a | |
parent | 981cbe95afb27506297ffaa570d1b500721f2a0e (diff) | |
download | aports-e9da29778face33ecd7de4927b8507c79397cdc3.tar.bz2 aports-e9da29778face33ecd7de4927b8507c79397cdc3.tar.xz |
testing/hplip: upgrade to 3.17.4
Modernize APKBUILD, add check()
-rw-r--r-- | testing/hplip/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/testing/hplip/APKBUILD b/testing/hplip/APKBUILD index 9826e9a630..14377c746d 100644 --- a/testing/hplip/APKBUILD +++ b/testing/hplip/APKBUILD @@ -3,7 +3,7 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Contributor: Valery Kartel <valery.kartel@gmail.com> pkgname=hplip -pkgver=3.16.11 +pkgver=3.17.4 pkgrel=0 pkgdesc="Drivers for HP printers and scanners" arch=all @@ -31,14 +31,18 @@ build() { --disable-fax-build \ --disable-dbus-build \ --enable-cups-drv-install \ - --enable-cups-ppd-install \ - || return 1 - make || return 1 + --enable-cups-ppd-install + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 + make -j1 DESTDIR="$pkgdir" install rm -fr "$pkgdir"/usr/bin \ "$pkgdir"/etc/udev \ "$pkgdir"/etc/sane.d \ @@ -57,9 +61,5 @@ sane() { echo "hpaio" > "$subpkgdir"/etc/sane.d/dll.d/hpaio } -md5sums="7d187c3142ba323a3021767d333ad9f4 hplip-3.16.11.tar.gz -a9cd9a64bc4e1ba14ef221efdcb0d940 fix-includes.patch" -sha256sums="f6e20cacb4891e4e60fc5de2213a10f8d0c68840f9b511aa38cfca0cb29f9b24 hplip-3.16.11.tar.gz -9a1d8b509d7bcacb03895529e3c6c83704ea784444bf0deae75ac59feb9e32b2 fix-includes.patch" -sha512sums="c59d50adbcc930543b828a81f055653e140987ac9d0b5232cfe6f657078565a3f2a0c96fc13f0dbb575916d59ca76a3447da7cf023bafef900375d4e53d9e180 hplip-3.16.11.tar.gz +sha512sums="ea295502df5b6c44839a7c03a725dc7475d256994eac2a7950058a68c805ca4942611df2688384c8acbc6551009841bb4623e7a3e7c8c0b16f44a2215a7316e6 hplip-3.17.4.tar.gz 173f0c2bbf0daefc717282bf125d3fd94b3914da0754078c45b58b09ab841672aae9238ca8fc0448486a871e40fc50f960da17c1e07ad3f04053d217ed634498 fix-includes.patch" |