diff options
author | Kyle Keen | 2015-06-13 00:12:02 -0400 |
---|---|---|
committer | Kyle Keen | 2015-06-13 00:12:02 -0400 |
commit | 6fd6e39a731d4bdfeff2d1ca0b622d6afa5fa67e (patch) | |
tree | c12f9f02c473560f3ebf823aa14d226a9ca30fc5 | |
download | aur-6fd6e39a731d4bdfeff2d1ca0b622d6afa5fa67e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | ttf-lobsang-monlam.install | 15 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1a6a2784e282 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ttf-lobsang-monlam + pkgdesc = A Tibetan font, Monlam Bod-Yig + pkgver = 1 + pkgrel = 1 + url = http://lobsangmonlam.org/ + install = ttf-lobsang-monlam.install + arch = any + license = Apache + depends = xorg-font-utils + depends = fontconfig + source = http://monlam-dictionary.googlecode.com/files/monlambodyig.ttf + md5sums = e5da214e2c392d00f29af696c813b63e + +pkgname = ttf-lobsang-monlam + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..082856c496de --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Kyle Keen < keenerd at gmail > + +pkgname=ttf-lobsang-monlam +pkgver=1 +pkgrel=1 +pkgdesc='A Tibetan font, Monlam Bod-Yig' +arch=('any') +license=('Apache') +url='http://lobsangmonlam.org/' +depends=('xorg-font-utils' 'fontconfig') +install='ttf-lobsang-monlam.install' +source=("http://monlam-dictionary.googlecode.com/files/monlambodyig.ttf") +md5sums=('e5da214e2c392d00f29af696c813b63e') + +package() { + cd "$srcdir" + install -d "$pkgdir/usr/share/fonts/TTF/" + install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" +} + diff --git a/ttf-lobsang-monlam.install b/ttf-lobsang-monlam.install new file mode 100644 index 000000000000..7d21ab51b596 --- /dev/null +++ b/ttf-lobsang-monlam.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/misc + mkfontdir /usr/share/fonts/misc + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |