aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libxft/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-22 21:43:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-22 21:43:49 +0000
commit9add3f529855403dc9a092a1a4d1ed06031f36bf (patch)
treeaf8ada91b3d88517a4a6a470f0349aae0e8e34c6 /x11/libxft/APKBUILD
parent16b5f9add704bb6cc3776d1c0e4ea6b85f497d9b (diff)
downloadaports-9add3f529855403dc9a092a1a4d1ed06031f36bf.tar.gz
aports-9add3f529855403dc9a092a1a4d1ed06031f36bf.tar.bz2
aports-9add3f529855403dc9a092a1a4d1ed06031f36bf.tar.xz
x11/libxft: remove deps
they will be autodetected during build
Diffstat (limited to 'x11/libxft/APKBUILD')
-rw-r--r--x11/libxft/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11/libxft/APKBUILD b/x11/libxft/APKBUILD
index 6e4fa6633c..43b5a3c077 100644
--- a/x11/libxft/APKBUILD
+++ b/x11/libxft/APKBUILD
@@ -1,20 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxft
pkgver=2.1.14
-pkgrel=0
+pkgrel=1
pkgdesc="FreeType-based font drawing library for X"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
-depends="fontconfig libxrender uclibc freetype"
+depends=
makedepends="pkgconfig fontconfig-dev libxrender-dev freetype-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.bz2"
depends_dev="xproto libxrender-dev fontconfig-dev freetype-dev"
+
build () {
cd "$srcdir"/libXft-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/libXft-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}