diff options
author | ShadowKyogre | 2015-06-08 07:40:43 -0700 |
---|---|---|
committer | ShadowKyogre | 2015-06-08 07:40:43 -0700 |
commit | 4cefe1b0023230cdcf90dbdcdb620e53054c522e (patch) | |
tree | 168f6d3329978a96165df1ee640ceca21a0d0ebe | |
download | aur-4cefe1b0023230cdcf90dbdcdb620e53054c522e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | ttf-enochian.install | 20 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f937fe7ba278 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ttf-enochian + pkgdesc = A font for the language of both demons and angels. + pkgver = 1.0 + pkgrel = 1 + url = http://www.fontsaddict.com/font/enochian-plain.html + install = ttf-enochian.install + arch = any + license = freeware + makedepends = unzip + depends = fontconfig + depends = xorg-font-utils + source = http://www.fontsaddict.com/download/enochian-plain.ttf + md5sums = bec37d31ac381a1ecda9975711503237 + +pkgname = ttf-enochian + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2eee0d9178e6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: ShadowKyogre <shadowkyogre@aim.com> +pkgname=ttf-enochian +pkgver=1.0 +pkgrel=1 +pkgdesc="A font for the language of both demons and angels." +arch=('any') +url="http://www.fontsaddict.com/font/enochian-plain.html" +license=('freeware') +makedepends=('unzip') +depends=(fontconfig xorg-font-utils) +source=("http://www.fontsaddict.com/download/enochian-plain.ttf") +md5sums=('bec37d31ac381a1ecda9975711503237') +install=$pkgname.install + +build() { + install -Dm644 "$srcdir/enochian-plain.ttf" "$pkgdir/usr/share/fonts/TTF/enochian-plain.ttf" +} + +# vim:set ts=2 sw=2 et: diff --git a/ttf-enochian.install b/ttf-enochian.install new file mode 100644 index 000000000000..f4e3ec7c3995 --- /dev/null +++ b/ttf-enochian.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $*
\ No newline at end of file |