aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfont2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxfont2/APKBUILD')
-rw-r--r--main/libxfont2/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/libxfont2/APKBUILD b/main/libxfont2/APKBUILD
new file mode 100644
index 0000000000..2d9c349733
--- /dev/null
+++ b/main/libxfont2/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxfont2
+pkgver=2.0.1
+pkgrel=0
+pkgdesc="X.Org X11 libXfont2 runtime library"
+url="http://www.x.org"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libfontenc-dev freetype-dev fontsproto zlib-dev
+ util-macros autoconf automake libtool"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.x.org/pub/individual/lib/libXfont2-$pkgver.tar.bz2
+ libXfont-2.0.1-misc-fixes.patch
+ "
+builddir="$srcdir/libXfont2-$pkgver"
+
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+sha512sums="5e4dcb587b4d25dd41124bb50d71c30b5e29663ce675b0830def82fb6e00b64ba34e1b1ed7fad947fd0da95007aa55d14f587383e4cff08c3e0a0241c8879d16 libXfont2-2.0.1.tar.bz2
+ee75a3fbe7ed6b5713e13e48247d3a8f058e07ae0bdce0d8d0b763357be646c5f09ef75a2c38ce95708025593c9acb6486351eca76ee305874ebf942f3801989 libXfont-2.0.1-misc-fixes.patch"