summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNavdeep Singh Sidhu2017-04-19 21:07:16 +1200
committerNavdeep Singh Sidhu2017-04-19 21:07:16 +1200
commit1c1cebfde9974d635207740f984b91fc94fd3778 (patch)
treeedcfdeb8a65806459b8771c78723e397ce68c331
downloadaur-1c1cebfde9974d635207740f984b91fc94fd3778.tar.gz
Initial Release
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD18
-rw-r--r--otf-saab.install15
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..555b8a906e92
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = otf-saab
+ pkgdesc = Saab is the first ever freely available, Unicode 4.0 compliant, OpenType, Gurmukhi (Punjabi) font.
+ pkgver = 0.91
+ pkgrel = 1
+ url = http://guca.sourceforge.net/typography/fonts/saab/
+ install = otf-saab.install
+ arch = any
+ license = GPL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://prdownloads.sourceforge.net/guca/saab.0.91.otf
+ md5sums = 1c75f83212904341ce7fe9e77a0f8146
+
+pkgname = otf-saab
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e2764911a20f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Navdeep Sidhu <dev@navisidhu.com>
+
+pkgname=otf-saab
+pkgver=0.91
+pkgrel=1
+pkgdesc="Saab is the first ever freely available, Unicode 4.0 compliant, OpenType, Gurmukhi (Punjabi) font."
+arch=(any)
+url="http://guca.sourceforge.net/typography/fonts/saab/"
+license=('GPL')
+depends=(fontconfig xorg-font-utils)
+source=("http://prdownloads.sourceforge.net/guca/saab.0.91.otf")
+md5sums=("1c75f83212904341ce7fe9e77a0f8146")
+install=${pkgname}.install
+
+package() {
+ install -d "${pkgdir}/usr/share/fonts/OTF"
+ install -Dm644 "${srcdir}/"*.otf "$pkgdir/usr/share/fonts/OTF/"
+} \ No newline at end of file
diff --git a/otf-saab.install b/otf-saab.install
new file mode 100644
index 000000000000..a538b56a67d0
--- /dev/null
+++ b/otf-saab.install
@@ -0,0 +1,15 @@
+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
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file