summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZack Grannan2015-07-25 15:16:51 -0700
committerZack Grannan2015-07-25 15:22:39 -0700
commite2b11b4f05158ea29b67f3fd97097de4deccbbcd (patch)
tree1dcd3c807c1ac3a99a73f0f8f2eb6d974bb593ac
downloadaur-e2b11b4f05158ea29b67f3fd97097de4deccbbcd.tar.gz
Update to 1.4
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD18
-rw-r--r--ttf-lklug.install11
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..9ae3613a8957
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ttf-lklug
+ pkgdesc = Unicode sinhala font
+ pkgver = 1
+ pkgrel = 4
+ url = http://sinhala.sourceforge.net/
+ install = ttf-lklug.install
+ arch = any
+ license = GPL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://sinhala.sourceforge.net/files/lklug.ttf
+ md5sums = 3bfe4e498d6daa90a4ed956daaa10fef
+
+pkgname = ttf-lklug
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5e4cb2df11b1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Zack Grannan <zgrannan at gmail dot com>
+
+pkgname=ttf-lklug
+pkgver=1
+pkgrel=4
+pkgdesc="Unicode sinhala font"
+arch=('any')
+url="http://sinhala.sourceforge.net/"
+license=('GPL')
+depends=('fontconfig' 'xorg-font-utils')
+install=$pkgname.install
+source=(http://sinhala.sourceforge.net/files/lklug.ttf)
+md5sums=('3bfe4e498d6daa90a4ed956daaa10fef')
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/fonts/TTF"
+ cp "${srcdir}/lklug.ttf" "${pkgdir}/usr/share/fonts/TTF/lklug.ttf"
+}
diff --git a/ttf-lklug.install b/ttf-lklug.install
new file mode 100644
index 000000000000..80e487f69895
--- /dev/null
+++ b/ttf-lklug.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install
+}