aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 23:14:09 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 17:36:35 +0000
commitbf116d5ba41bf046c2d71560e1758ef9f7b577d0 (patch)
tree15e4ba8a2513c75e3fbc2112483e9e9d99deb114
parent85a59dbfa589e5c327fc24fa2d46657df7070fc9 (diff)
downloadaports-bf116d5ba41bf046c2d71560e1758ef9f7b577d0.tar.gz
aports-bf116d5ba41bf046c2d71560e1758ef9f7b577d0.tar.bz2
aports-bf116d5ba41bf046c2d71560e1758ef9f7b577d0.tar.xz
main/libpaper: modernise, mark no tests, fix license
-rw-r--r--main/libpaper/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD
index c37dc04fd9..b8e8edda62 100644
--- a/main/libpaper/APKBUILD
+++ b/main/libpaper/APKBUILD
@@ -2,11 +2,12 @@
pkgname=libpaper
pkgver=1.1.24
_pkgver=${pkgver}+nmu4
-pkgrel=3
+pkgrel=4
pkgdesc="Library for handling paper characteristics"
url="http://packages.debian.org/unstable/source/libpaper"
arch="all"
-license="GPL"
+options="!check" # No test suite.
+license="GPL-2.0"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends=""
@@ -20,16 +21,13 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir="$pkgdir"/usr/share/man \
- || return 1
- make || return 1
+ --mandir="$pkgdir"/usr/share/man
+ make
}
package() {
cd "$builddir"
- make prefix="$pkgdir"/usr install || return 1
+ make prefix="$pkgdir"/usr install
}
-md5sums="155d2e589e2f4ef163de8fbbc5d3dd1e libpaper_1.1.24+nmu4.tar.gz"
-sha256sums="2491fce3f590d922d2d3070555df4425921b89c76a18e1c62e36336d6657526a libpaper_1.1.24+nmu4.tar.gz"
sha512sums="4412139ffab7b9658f186a825c7d4ae3ba397ff32852a66decccef7b74647dd365573b9f00145fe2fa95dd16e30c280a8aeeac90a14006ed140f5b85e2f0e508 libpaper_1.1.24+nmu4.tar.gz"