diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-22 21:27:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-22 21:27:14 +0000 |
commit | 1a90fe8c42d3a8c1597165708aea6e84b4d1d5bf (patch) | |
tree | 412e8c2e4735f04b2249c3c835030ec49a2105ed /x11/libfontenc/APKBUILD | |
parent | af85d5c969c957849cedcf02e869627a3298de25 (diff) | |
download | aports-1a90fe8c42d3a8c1597165708aea6e84b4d1d5bf.tar.bz2 aports-1a90fe8c42d3a8c1597165708aea6e84b4d1d5bf.tar.xz |
x11/libfontenc: split build() and package()
Diffstat (limited to 'x11/libfontenc/APKBUILD')
-rw-r--r-- | x11/libfontenc/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/libfontenc/APKBUILD b/x11/libfontenc/APKBUILD index 408bf1c2..7dac13ea 100644 --- a/x11/libfontenc/APKBUILD +++ b/x11/libfontenc/APKBUILD @@ -1,11 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libfontenc pkgver=1.0.5 -pkgrel=0 +pkgrel=1 pkgdesc="X11 font encoding library" url="http://xorg.freedesktop.org/" license="custom" -depends="uclibc zlib" +depends= makedepends="pkgconfig xproto zlib-dev" subpackages="$pkgname-dev" source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2" @@ -18,6 +18,10 @@ build() { --disable-static \ --with-encodingsdir=/usr/share/fonts/encodings make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } md5sums="4f0d8191819be9f2bdf9dad49a65e43b libfontenc-1.0.5.tar.bz2" |