# 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() {
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$builddir"/*.ttf
}

sha512sums="5fded88a9149d0fd59a377f08d9e1ea63ecffede58cde42e28504a48b12b35dec699b1ea0e0bbb95465c281d5b19ddfbe808a3c4ef40cd46295aaa069bd9127f  All_KhmerOS_5.0.zip"