summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2015-06-08 07:41:57 -0700
committerShadowKyogre2015-06-08 07:41:57 -0700
commit1faa6c578265072a31c9e0a13f340ea4d00a402c (patch)
treed485cc510477d014eb5913d52e8b96761035ea21
downloadaur-1faa6c578265072a31c9e0a13f340ea4d00a402c.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD21
-rw-r--r--ttf-tangiers.install20
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..577a189a900
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ttf-tangiers
+ pkgdesc = A free alternative to the Algerian font
+ pkgver = 1.0
+ pkgrel = 1
+ url = http://www.fontsner.com/font/Tangiers_Normal-32393.html
+ install = ttf-tangiers.install
+ arch = any
+ license = freeware
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = Tangiers_Normal.ttf::http://www.fontsner.com/download/32393
+ md5sums = 27581eea27909741e2411bbf4e26c236
+
+pkgname = ttf-tangiers
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9ba59816a5c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: ShadowKyogre <shadowkyogre@aim.com>
+pkgname=ttf-tangiers
+pkgver=1.0
+pkgrel=1
+pkgdesc="A free alternative to the Algerian font"
+arch=('any')
+url="http://www.fontsner.com/font/Tangiers_Normal-32393.html"
+license=('freeware')
+depends=(fontconfig xorg-font-utils)
+source=("Tangiers_Normal.ttf::http://www.fontsner.com/download/32393")
+md5sums=('27581eea27909741e2411bbf4e26c236')
+install=$pkgname.install
+
+build() {
+ cd $srcdir
+ mkdir -p $pkgdir/usr/share/fonts/TTF
+ chmod -x ./*.ttf
+ cp -Lr ./*.ttf $pkgdir/usr/share/fonts/TTF
+}
+
+# vim:set ts=2 sw=2 et: \ No newline at end of file
diff --git a/ttf-tangiers.install b/ttf-tangiers.install
new file mode 100644
index 00000000000..f4e3ec7c399
--- /dev/null
+++ b/ttf-tangiers.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