summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/font-alias/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/font-alias/APKBUILD b/user/font-alias/APKBUILD
new file mode 100644
index 000000000..91fc0705b
--- /dev/null
+++ b/user/font-alias/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=font-alias
+pkgver=1.0.3
+pkgrel=2
+pkgdesc="Font alias definitions from X.Org"
+url="https://www.X.Org/"
+arch="noarch"
+license="unknown:BSD-Style"
+depends=""
+makedepends="util-macros"
+source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-fontrootdir=/usr/share/fonts
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="05abfef4615722d8cf3f21ab1118494522553a75427140d9753b3d312f404735c20766ceacc1b53f9e783ea25ec8f2f6bdb8696525a4962afe29f524ed8b6552 font-alias-1.0.3.tar.bz2"