aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpaper/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpaper/APKBUILD')
-rw-r--r--main/libpaper/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD
index b8e8edda62..bb52aff490 100644
--- a/main/libpaper/APKBUILD
+++ b/main/libpaper/APKBUILD
@@ -1,19 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpaper
-pkgver=1.1.24
-_pkgver=${pkgver}+nmu4
-pkgrel=4
+pkgver=1.1.26
+pkgrel=0
pkgdesc="Library for handling paper characteristics"
url="http://packages.debian.org/unstable/source/libpaper"
arch="all"
options="!check" # No test suite.
-license="GPL-2.0"
+license="GPL-2.0-only"
+makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
-depends=""
-makedepends=""
-source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_${_pkgver}.tar.gz"
+source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_${pkgver}.tar.gz"
-builddir="$srcdir"/$pkgname-$_pkgver
+prepare() {
+ cd "$builddir"
+ default_prepare
+ autoreconf -fi
+}
build() {
cd "$builddir"
@@ -21,6 +23,7 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --disable-static \
--mandir="$pkgdir"/usr/share/man
make
}
@@ -30,4 +33,4 @@ package() {
make prefix="$pkgdir"/usr install
}
-sha512sums="4412139ffab7b9658f186a825c7d4ae3ba397ff32852a66decccef7b74647dd365573b9f00145fe2fa95dd16e30c280a8aeeac90a14006ed140f5b85e2f0e508 libpaper_1.1.24+nmu4.tar.gz"
+sha512sums="6c54d28004c2dc95cfcc58467026d87b1590d35c9acf09d85568be0c558a04c183e0657afe3278dc894825428372ae60ccf417ece955b7d358fd9ce7b3d78b76 libpaper_1.1.26.tar.gz"