summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 07:30:34 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 07:30:34 +0000
commit49e177fe67d1c10531b2905284e5212a412403e5 (patch)
tree5006fcae7ffb640eb8f34d23110aae34794674a7 /user
parent164146a300b1310e3eceac5280d76b4b23189bf6 (diff)
downloadpackages-49e177fe67d1c10531b2905284e5212a412403e5.tar.gz
packages-49e177fe67d1c10531b2905284e5212a412403e5.tar.bz2
packages-49e177fe67d1c10531b2905284e5212a412403e5.tar.xz
packages-49e177fe67d1c10531b2905284e5212a412403e5.zip
user/libxfont: new package
Diffstat (limited to 'user')
-rw-r--r--user/libxfont/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxfont/APKBUILD b/user/libxfont/APKBUILD
new file mode 100644
index 000000000..918cbc02e
--- /dev/null
+++ b/user/libxfont/APKBUILD
@@ -0,0 +1,38 @@
+# 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() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="864edbaff45c44bd92bc4b06275c73fdf584a9b88bc523a297d4c75c01ca253f438463e929af70d753ddecfa648bb0b9bcf0ec72267db9f2b1704f7afa906cb3 libXfont-1.5.4.tar.bz2"