summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-12 23:31:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-12 23:31:21 -0500
commitce960f3d72b052477880b12409b4d5f1eaaec870 (patch)
tree71ad5dae96c98ddc6f4586d12b03bdcdf775e1f6 /user
parent7ac5e28aa097ef2bf1ea1b1514028e2af55dfcdd (diff)
downloadpackages-ce960f3d72b052477880b12409b4d5f1eaaec870.tar.gz
packages-ce960f3d72b052477880b12409b4d5f1eaaec870.tar.bz2
packages-ce960f3d72b052477880b12409b4d5f1eaaec870.tar.xz
packages-ce960f3d72b052477880b12409b4d5f1eaaec870.zip
user/encodings: pull in, take, fix
Diffstat (limited to 'user')
-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"