# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ae_fonts
pkgver=2.0
pkgrel=0
pkgdesc="Arabeyes fonts"
url="https://www.arabeyes.org/Khotot"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only WITH Font-exception-2.0"
depends=""
makedepends=""
subpackages=""
source="https://downloads.sourceforge.net/arabeyes/ae_fonts_$pkgver.tar.bz2"
builddir="$srcdir"/${pkgname}_$pkgver

package() {
	cd "$builddir"
	local _fontdir
	for _fontdir in AAHS AGA FS Kasr MCS Shmookh; do
		cd $_fontdir
		install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ *.ttf
		cd "$OLDPWD"
	done
}

sha512sums="46c94aa1ce872aa1ad4dd01d698d4691a6301786f8be681723df9bdcdfb86db12b15bef2a6acfed704b29867e9c01e385b4c2c490548ce68f7994b8127a9270e  ae_fonts_2.0.tar.bz2"