summaryrefslogtreecommitdiff
path: root/user/libpaper/APKBUILD
blob: 74ff2a04f629374cd7312587521a400b5a0fcba8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"