summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 22:27:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 22:27:59 -0500
commitc45643530df7ec569b429d51573fd0912b4772eb (patch)
treefbbf0f91b1e5f21063bdb0f0724a4777b42a90b4
parent24776dcae9108eb9bf24832297ad09ab2627d50f (diff)
downloadpackages-c45643530df7ec569b429d51573fd0912b4772eb.tar.gz
packages-c45643530df7ec569b429d51573fd0912b4772eb.tar.bz2
packages-c45643530df7ec569b429d51573fd0912b4772eb.tar.xz
packages-c45643530df7ec569b429d51573fd0912b4772eb.zip
user/libfontenc: pull in, take, fix
-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"