summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdarch2015-08-03 21:04:23 +0200
committerjdarch2015-08-03 21:04:23 +0200
commit21bdc605e588db4de5929723d1cd6b48b601532e (patch)
tree6b3c8e3d294919d703ea60035be18fdc696b283d
downloadaur-21bdc605e588db4de5929723d1cd6b48b601532e.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--ChangeLog.otf-gandhifamily4
-rw-r--r--PKGBUILD22
-rw-r--r--otf-gandhifamily.install15
4 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..50160b29287d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = otf-gandhifamily
+ pkgdesc = Gandhi Sans and Serif font family by Cristóbal Henestrosa and Raúl Plancarte for Librería Gandhi (OpenType)
+ pkgver = 1.001
+ pkgrel = 1
+ url = http://www.tipografiagandhi.com/
+ install = otf-gandhifamily.install
+ changelog = ChangeLog.otf-gandhifamily
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://www.tipografiagandhi.com/common/zip/gandhi_sans_and_serif.zip
+ md5sums = 67c351573bb0a1c80cd05e91674db0ec
+ sha512sums = 4f740cb90c4daf38068910660a76e3a27f8578708a6be71efa528f2955340412cb911d6a6fc6f46bb3baee009bcc20a17f68507bc860630fd4b83d7007bdbc8e
+
+pkgname = otf-gandhifamily
+
diff --git a/ChangeLog.otf-gandhifamily b/ChangeLog.otf-gandhifamily
new file mode 100644
index 000000000000..054c3a903de5
--- /dev/null
+++ b/ChangeLog.otf-gandhifamily
@@ -0,0 +1,4 @@
+2014-01-18 jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com>
+
+ * 1.001-1 :
+ initial release
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..3bf9df877952
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com>
+
+pkgname=otf-gandhifamily
+pkgdesc="Gandhi Sans and Serif font family by Cristóbal Henestrosa and Raúl Plancarte for Librería Gandhi (OpenType)"
+url=('http://www.tipografiagandhi.com/')
+license=('custom')
+pkgver=1.001
+pkgrel=1
+changelog=ChangeLog.${pkgname}
+depends=('fontconfig' 'xorg-font-utils')
+arch=('any')
+install=$pkgname.install
+
+source=(http://www.tipografiagandhi.com/common/zip/gandhi_sans_and_serif.zip)
+md5sums=('67c351573bb0a1c80cd05e91674db0ec')
+sha512sums=('4f740cb90c4daf38068910660a76e3a27f8578708a6be71efa528f2955340412cb911d6a6fc6f46bb3baee009bcc20a17f68507bc860630fd4b83d7007bdbc8e')
+
+package() {
+ install -d "${pkgdir}/usr/share/fonts/${pkgname}"
+ cp -dpr --no-preserve=all "${srcdir}/TipografiaGandhi/"*.otf "${pkgdir}/usr/share/fonts/${pkgname}"
+ install -D -m644 "${srcdir}/TipografiaGandhi/ReglasDeUso.rtf" "${pkgdir}/usr/share/licenses/${pkgname}/ReglasDeUso.rtf"
+}
diff --git a/otf-gandhifamily.install b/otf-gandhifamily.install
new file mode 100644
index 000000000000..b52c21cecce8
--- /dev/null
+++ b/otf-gandhifamily.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/otf-gandhifamily
+ mkfontdir /usr/share/fonts/otf-gandhifamily
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}