summaryrefslogtreecommitdiff
path: root/legacy/libxfont/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/libxfont/APKBUILD')
-rw-r--r--legacy/libxfont/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/legacy/libxfont/APKBUILD b/legacy/libxfont/APKBUILD
new file mode 100644
index 000000000..c98112974
--- /dev/null
+++ b/legacy/libxfont/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxfont
+pkgver=1.5.4
+pkgrel=0
+pkgdesc="X11 Font library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends="xtrans"
+makedepends="freetype-dev libfontenc-dev util-macros xmlto xorgproto-dev"
+subpackages="$pkgname-dev"
+source="https://www.x.org/releases/individual/lib/libXfont-$pkgver.tar.bz2"
+builddir="$srcdir/libXfont-$pkgver"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="864edbaff45c44bd92bc4b06275c73fdf584a9b88bc523a297d4c75c01ca253f438463e929af70d753ddecfa648bb0b9bcf0ec72267db9f2b1704f7afa906cb3 libXfont-1.5.4.tar.bz2"