summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/khmeros-fonts/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/khmeros-fonts/APKBUILD b/user/khmeros-fonts/APKBUILD
new file mode 100644
index 000000000..4eca9227a
--- /dev/null
+++ b/user/khmeros-fonts/APKBUILD
@@ -0,0 +1,22 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=khmeros-fonts
+pkgver=5.0
+pkgrel=0
+pkgdesc="Khmer typefaces from Open Forum of Cambodia"
+url="http://www.khmeros.info/fonts"
+arch="noarch"
+options="!check" # No test suite.
+license="LGPL-2.1-only"
+depends="fontconfig"
+makedepends=""
+subpackages=""
+source="https://downloads.sourceforge.net/khmer/All_KhmerOS_$pkgver.zip"
+builddir="$srcdir/All_KhmerOS_$pkgver"
+
+package() {
+ cd "$builddir"
+ install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ *.ttf
+}
+
+sha512sums="5fded88a9149d0fd59a377f08d9e1ea63ecffede58cde42e28504a48b12b35dec699b1ea0e0bbb95465c281d5b19ddfbe808a3c4ef40cd46295aaa069bd9127f All_KhmerOS_5.0.zip"