diff options
author | OmeGa | 2015-07-08 02:37:56 -0500 |
---|---|---|
committer | OmeGa | 2015-07-08 02:37:56 -0500 |
commit | c13d83d68a007f05eaacd554e11790fab5a17120 (patch) | |
tree | 839a3e684cca29993a32d4189830dec8b424d2f6 | |
download | aur-c13d83d68a007f05eaacd554e11790fab5a17120.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | ttf.install | 16 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d99531cc809 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ttf-sil-ezra + pkgdesc = OpenType Hebrew font from SIL. + pkgver = 2.51 + pkgrel = 2 + url = http://scripts.sil.org/EzraSIL_Home + install = ttf.install + arch = any + license = custom:OFL + depends = fontconfig + depends = xorg-font-utils + source = ttf-sil-ezra-2.51.zip::http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=EzraSIL251.zip + sha1sums = 97472305eea615f415c7805ba32da01a6d706283 + +pkgname = ttf-sil-ezra + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c75b789c564 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: OmeGa <omega [U+0040] mailoo [.] org> +# Contributor: Firmicus <firmicus āt gmx dōt net> + +pkgname=ttf-sil-ezra +pkgver=2.51 +pkgrel=2 +pkgdesc="OpenType Hebrew font from SIL." +arch=('any') +url="http://scripts.sil.org/EzraSIL_Home" +license=('custom:OFL') +depends=('fontconfig' 'xorg-font-utils') +install=ttf.install +source=("$pkgname-$pkgver.zip::http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=EzraSIL251.zip") +sha1sums=('97472305eea615f415c7805ba32da01a6d706283') + +package() { + cd "$srcdir/EzraSIL2.51" + install -d "$pkgdir/usr/share/fonts/TTF" + install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" + install -Dm644 Licenses.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/ttf.install b/ttf.install new file mode 100644 index 000000000000..503d2759ae9e --- /dev/null +++ b/ttf.install @@ -0,0 +1,16 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f -s > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |