summaryrefslogtreecommitdiff
path: root/user/libpaper
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 03:04:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 03:05:02 -0500
commitaecd2bf2b0830b14f01aef75b1ac9e0c726bc6d6 (patch)
treed6d0a9e8c770631a6a8dd08332c5bd93e6075aea /user/libpaper
parentbffe051f466bfd6f39b73c407446d32d75099541 (diff)
downloadpackages-aecd2bf2b0830b14f01aef75b1ac9e0c726bc6d6.tar.gz
packages-aecd2bf2b0830b14f01aef75b1ac9e0c726bc6d6.tar.bz2
packages-aecd2bf2b0830b14f01aef75b1ac9e0c726bc6d6.tar.xz
packages-aecd2bf2b0830b14f01aef75b1ac9e0c726bc6d6.zip
user/libpaper: bump, fix
Diffstat (limited to 'user/libpaper')
-rw-r--r--user/libpaper/APKBUILD37
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"