summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuhr2016-08-03 12:13:44 +0900
committeryuhr2016-08-03 12:13:44 +0900
commitfaa799479e7899edcc529d8252f70761c793611a (patch)
treea7787f229d70e8fd809ddf8d0e9672b2227db62e
downloadaur-faa799479e7899edcc529d8252f70761c793611a.tar.gz
initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD12
-rw-r--r--ttf-averia-serif-libre.install15
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..03f91579430b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+# Generated by mksrcinfo v8
+# Wed Aug 3 02:55:55 UTC 2016
+pkgbase = ttf-averia-serif-libre
+ pkgdesc = Averia Serif Libre fonts, typeface a bit gentle from Averia Serif
+ pkgver = 1.0
+ pkgrel = 1
+ install = ttf-averia-serif-libre.install
+ arch = any
+ depends = fontconfig
+ depends = xorg-font-utils
+
+pkgname = ttf-averia-serif-libre
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..93c6e1abacd1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,12 @@
+pkgname=ttf-averia-serif-libre
+pkgver=1.0
+pkgrel=1
+pkgdesc="Averia Serif Libre fonts, typeface a bit gentle from Averia Serif"
+arch=('any')
+depends=('fontconfig' 'xorg-font-utils')
+install=$pkgname.install
+
+package() {
+ install -d "$pkgdir/usr/share/fonts/TTF"
+ install -m644 "$srcdir/$pkgname/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
+}
diff --git a/ttf-averia-serif-libre.install b/ttf-averia-serif-libre.install
new file mode 100644
index 000000000000..44f7f11ea4c7
--- /dev/null
+++ b/ttf-averia-serif-libre.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
+}