summaryrefslogtreecommitdiff
path: root/user/encodings/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/encodings/APKBUILD')
-rw-r--r--user/encodings/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/encodings/APKBUILD b/user/encodings/APKBUILD
new file mode 100644
index 000000000..84c49ddab
--- /dev/null
+++ b/user/encodings/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=encodings
+pkgver=1.0.4
+pkgrel=2
+pkgdesc="Font encoding files for X11"
+url="https://www.X.Org/"
+arch="noarch"
+license="Public-Domain"
+depends=""
+makedepends="cmd:gzip mkfontscale util-macros"
+source="https://www.X.Org/releases/individual/font/encodings-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-encodingsdir=/usr/share/fonts/encodings
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="838d1c9489e9880bf1982dc14d34a48b624b7bc2c0fffbf28e2c24e1546b0602357ca31afef100053481d6a18e357085ef74ac7a82261daa1ac1398bc1e05d17 encodings-1.0.4.tar.bz2"