summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscarOrSomething2015-07-10 21:51:44 +0100
committerOscarOrSomething2015-07-10 22:19:45 +0100
commit4f1e99b71a47d2c45550d0868b3f48202a2b3101 (patch)
tree007786e5ba95538810f34bae8ecbe10d810442f4
downloadaur-4f1e99b71a47d2c45550d0868b3f48202a2b3101.tar.gz
Initial Commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD15
-rw-r--r--ttf-blogger-sans.install15
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..114de5ab9f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ttf-blogger-sans
+ pkgdesc = Blogger Sans font
+ pkgver = 1.0
+ pkgrel = 1
+ install = ttf-blogger-sans.install
+ arch = any
+ license = Creative Commons Attribution 4.0 - CC BY 4.0
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://dl.static.1001fonts.net/niceid/b/l/blogger-sans.zip
+ md5sums = dc82cd62c5c4abd94b4e221f061cfa0f
+
+pkgname = ttf-blogger-sans
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6d943bb3c5d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,15 @@
+pkgname=ttf-blogger-sans
+pkgver=1.0
+pkgrel=1
+pkgdesc="Blogger Sans font"
+arch=(any)
+depends=(fontconfig xorg-font-utils)
+install=$pkgname.install
+source='http://dl.static.1001fonts.net/niceid/b/l/blogger-sans.zip'
+md5sums=('dc82cd62c5c4abd94b4e221f061cfa0f')
+ license=('Creative Commons Attribution 4.0 - CC BY 4.0')
+
+package() {
+ install -d "$pkgdir/usr/share/fonts/TTF"
+ install -m644 "$srcdir/Blogger Sans/OT-tt/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
+}
diff --git a/ttf-blogger-sans.install b/ttf-blogger-sans.install
new file mode 100644
index 00000000000..802fd10702a
--- /dev/null
+++ b/ttf-blogger-sans.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache >/dev/null -f
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo done
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file