summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libfontenc/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libfontenc/APKBUILD b/user/libfontenc/APKBUILD
new file mode 100644
index 000000000..508804ee8
--- /dev/null
+++ b/user/libfontenc/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libfontenc
+pkgver=1.1.3
+pkgrel=3
+pkgdesc="X11 font encoding library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="util-macros xorgproto-dev zlib-dev"
+subpackages="$pkgname-dev"
+source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --with-encodingsdir=/usr/share/fonts/encodings
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7346079a6980464f57f5da0e96025bbf4b13fbb7ed976b58d9c54b78525d9d0b4174b4783326a12048971cf5d05221bafe2f41c6b02931743913719cde21740c libfontenc-1.1.3.tar.bz2"