APKBUILD 670 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkfontscale
3 4
pkgver=1.0.7
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6 7 8
pkgdesc="X.org font scale"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-doc"
9
depends=
Natanael Copa's avatar
Natanael Copa committed
10 11
makedepends="pkgconfig libfontenc-dev freetype-dev xproto zlib-dev"
install=
12
triggers="$pkgname.trigger:/usr/share/fonts/*"
Natanael Copa's avatar
Natanael Copa committed
13 14 15 16 17 18
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

build() { 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr 
	make || return 1
19 20 21 22
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
23 24
	make DESTDIR="$pkgdir" install || return 1
}
25
md5sums="96ca346f185c0ab48e42bf5bb0375da5  mkfontscale-1.0.7.tar.bz2"