aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpaper/APKBUILD
blob: b8e8edda62cd23d7985feadcff2c92a8592951d5 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpaper
pkgver=1.1.24
_pkgver=${pkgver}+nmu4
pkgrel=4
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"
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

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="4412139ffab7b9658f186a825c7d4ae3ba397ff32852a66decccef7b74647dd365573b9f00145fe2fa95dd16e30c280a8aeeac90a14006ed140f5b85e2f0e508  libpaper_1.1.24+nmu4.tar.gz"