summaryrefslogtreecommitdiff
path: root/user/libpaper/APKBUILD
blob: 927b5e73accd360c977f1f7516845319c4a15548 (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
# Maintainer: 
pkgname=libpaper
pkgver=1.1.26
pkgrel=0
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"

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="6c54d28004c2dc95cfcc58467026d87b1590d35c9acf09d85568be0c558a04c183e0657afe3278dc894825428372ae60ccf417ece955b7d358fd9ce7b3d78b76  libpaper_1.1.26.tar.gz"