summaryrefslogtreecommitdiffstats
path: root/main/libpaper/APKBUILD
blob: b8399419e1a65b7cb3735a91d42325f24324c5fb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpaper
pkgver=1.1.23
pkgrel=2
pkgdesc="Library for handling paper characteristics"
url="http://packages.debian.org/unstable/source/libpaper"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc"
depends="bash"
makedepends=""
source="http://ftp.debian.org/debian/pool/main/libp/$pkgname/${pkgname}_$pkgver+nmu1.tar.gz"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver+nmu1
	./configure --prefix=/usr \
		--mandir="$pkgdir"/usr/share/man
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver+nmu1
	make prefix="$pkgdir"/usr install
}

md5sums="fb6c57fbad2e691b54210fad43745f4f  libpaper_1.1.23+nmu1.tar.gz"