APKBUILD 676 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bdftopcf
3
pkgver=1.0.2
4
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
5 6 7
pkgdesc="X.Org font utility"
url="http://xorg.freedesktop.org/"
license="custom"
8
depends=
Natanael Copa's avatar
Natanael Copa committed
9
makedepends="pkgconfig libxfont-dev"
Natanael Copa's avatar
Natanael Copa committed
10 11
install=
subpackages="$pkgname-doc"
12
source="http://xorg.freedesktop.org//releases/individual/app/bdftopcf-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
13

14
_builddir="$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
15
build() {
16
	cd "$_builddir"
Natanael Copa's avatar
Natanael Copa committed
17 18 19 20
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--with-mapdir=/usr/share/fonts/util || return 1
	make || return 1
21 22 23 24
}

package() {
	cd "$_builddir"
Natanael Copa's avatar
Natanael Copa committed
25 26
	make DESTDIR="$pkgdir" install || return 1
}
27
md5sums="148f20d28caaa69bbe7dcca7c2674fb6  bdftopcf-1.0.2.tar.bz2"