diff options
Diffstat (limited to 'user/libpaper')
-rw-r--r-- | user/libpaper/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libpaper/APKBUILD b/user/libpaper/APKBUILD new file mode 100644 index 000000000..74ff2a04f --- /dev/null +++ b/user/libpaper/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: +pkgname=libpaper +pkgver=1.1.24 +_pkgver=${pkgver}+nmu5 +pkgrel=5 +pkgdesc="Library for handling paper characteristics" +url="https://packages.debian.org/unstable/source/libpaper" +arch="all" +options="!check" # No test suite. +license="GPL-2.0-only" +subpackages="$pkgname-dev $pkgname-doc" +depends="" +makedepends="" +source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_${_pkgver}.tar.gz" +builddir="$srcdir"/$pkgname-$_pkgver + +prepare() { + cd "$builddir" + autoreconf -vif +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir="$pkgdir"/usr/share/man + make +} + +package() { + cd "$builddir" + make prefix="$pkgdir"/usr install +} + +sha512sums="4d20d454dd7d09dd7e84b9ccc3b0ff8d65d95e0ae3874ec41462f812882e7ead032310396801a47a32bfff112c4a9adaf2d8d3e6235a1fa6fbb853196a363c56 libpaper_1.1.24+nmu5.tar.gz" |