# Maintainer: Caleb Maclennan pkgname=otf-iwona pkgver=0.995 pkgrel=1 pkgdesc="Open Type Iwona font" arch=('any') url="http://jmn.pl/kurier-i-iwona/" license=('CUSTOM') depends=('fontconfig' 'xorg-font-utils') source=("$pkgname-$pkgver.zip::http://jmn.pl/pliki/Iwona-otf-0_995.zip") sha256sums=('2740d5c2a5efd29fc01eaa9ba29b4bd06295c5305092f9c1cfd4366e27502caa') post_install() { echo -n "Updating font cache... " fc-cache -s >/dev/null mkfontscale /usr/share/fonts/OTF mkfontdir /usr/share/fonts/OTF echo "done." } post_upgrade() { post_install "$1" } post_remove() { post_install "$1" } package() { cd "$srcdir/otf" find . -maxdepth 1 -name '*.otf' -execdir install -Dm644 {} "$pkgdir"/usr/share/fonts/OTF/{} \; }