summaryrefslogtreecommitdiff
path: root/user/khmeros-fonts
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-13 13:17:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-13 13:17:32 +0000
commit06ecdf0e4350e6385f5047cf042b0f155e7a898c (patch)
tree3f6c2c29c45fa3fa42f4f51d776bf26ac7f777ff /user/khmeros-fonts
parent74f49fad4d240a9d730a65717e0ba278483ef581 (diff)
downloadpackages-06ecdf0e4350e6385f5047cf042b0f155e7a898c.tar.gz
packages-06ecdf0e4350e6385f5047cf042b0f155e7a898c.tar.bz2
packages-06ecdf0e4350e6385f5047cf042b0f155e7a898c.tar.xz
packages-06ecdf0e4350e6385f5047cf042b0f155e7a898c.zip
user/khmeros-fonts: new package
Diffstat (limited to 'user/khmeros-fonts')
-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"