summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloš2016-03-14 22:03:51 +0100
committerMiloš2016-03-14 22:08:16 +0100
commit164cbd7a7631c72206e703a4563d5b9ed519399e (patch)
tree30c5f3415e8b37e9c7440d3dc53f6d446918a4e4
downloadaur-164cbd7a7631c72206e703a4563d5b9ed519399e.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD18
-rwxr-xr-xttf-webhostinghub-glyphs.install15
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d0c665ef8669
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ttf-webhostinghub-glyphs
+ pkgdesc = WebHostingHub-Glyphs icon font by webhostinghub.com
+ pkgver = 1.0
+ pkgrel = 1
+ url = http://www.webhostinghub.com/glyphs/
+ install = ttf-webhostinghub-glyphs.install
+ arch = any
+ license = OFL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://www.webhostinghub.com/glyphs/resources/whhg-font.zip
+ md5sums = 09993f3df25fa9edfca8b856b23c1425
+
+pkgname = ttf-webhostinghub-glyphs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..faf3a92eb051
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Miloš Polakovič <milos@mailbox.org>
+
+pkgname=ttf-webhostinghub-glyphs
+pkgver=1.0
+pkgrel=1
+pkgdesc='WebHostingHub Glyphs icon font by webhostinghub.com'
+arch=('any')
+url='http://www.webhostinghub.com/glyphs/'
+license=('OFL')
+depends=('fontconfig' 'xorg-font-utils')
+install=ttf-webhostinghub-glyphs.install
+source=('http://www.webhostinghub.com/glyphs/resources/whhg-font.zip')
+md5sums=('09993f3df25fa9edfca8b856b23c1425')
+
+package() {
+ install -d $pkgdir/usr/share/fonts/TTF/
+ install -m644 $srcdir/whhg-font/font/*.ttf $pkgdir/usr/share/fonts/TTF/
+}
diff --git a/ttf-webhostinghub-glyphs.install b/ttf-webhostinghub-glyphs.install
new file mode 100755
index 000000000000..bf300d193539
--- /dev/null
+++ b/ttf-webhostinghub-glyphs.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo "Updating font cache..."
+ fc-cache -s > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "...done."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}