diff options
Diffstat (limited to 'main/libxft/APKBUILD')
-rw-r--r-- | main/libxft/APKBUILD | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/main/libxft/APKBUILD b/main/libxft/APKBUILD index 9a006f5cc6..9db7536635 100644 --- a/main/libxft/APKBUILD +++ b/main/libxft/APKBUILD @@ -1,37 +1,33 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxft pkgver=2.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="FreeType-based font drawing library for X" url="http://xorg.freedesktop.org/" arch="all" license="custom" +options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= depends_dev="zlib-dev" -makedepends="$depends_dev fontconfig-dev freetype-dev xproto libxrender-dev" +makedepends="$depends_dev fontconfig-dev freetype-dev xproto libxrender-dev util-macros" source="http://www.x.org/releases/individual/lib/libXft-$pkgver.tar.bz2" -_builddir="$srcdir/libXft-$pkgver" - -prepare() { - cd "$_builddir" -} +builddir="$srcdir/libXft-$pkgver" build () { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc \ - || return 1 - make || return 1 + --sysconfdir=/etc + make } package() { - cd "$srcdir"/libXft-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="331b3a2a3a1a78b5b44cfbd43f86fcfe libXft-2.3.2.tar.bz2" |