summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2015-06-12 20:41:53 -0700
committerShadowKyogre2015-06-12 20:41:53 -0700
commit7d2a05b8e5450666aabcebf70e3410696928cf24 (patch)
tree8679474852d22431b8e65d71996a98a921925076
downloadaur-7d2a05b8e5450666aabcebf70e3410696928cf24.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
-rw-r--r--ttf-averia-serif.install13
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a3330dd4cc8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ttf-averia-serif
+ pkgdesc = The Average Font, serif version.
+ pkgver = 20111103
+ pkgrel = 1
+ url = http://iotic.com/averia/
+ install = ttf-averia-serif.install
+ arch = any
+ license = GPL
+ license = custom:OFL
+ depends = fontconfig
+ depends = xorg-fonts-encodings
+ depends = xorg-font-utils
+ source = ttf-averia-serif-20111103::http://openfontlibrary.org/assets/downloads/averia-serif/51e3ae7cf61b932c613416e6e0a05e40/averia-serif.zip
+ sha1sums = 17b43620d2ebe661523adc46ffab89e1744f6b54
+
+pkgname = ttf-averia-serif
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f06b436dfa4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Thomas WeiƟschuh <thomas_weissschuh lavabit com>
+
+pkgname=ttf-averia-serif
+pkgver=20111103
+_font_slug="averia-serif"
+_dlhash="51e3ae7cf61b932c613416e6e0a05e40"
+pkgrel=1
+pkgdesc='The Average Font, serif version.'
+url="http://iotic.com/averia/"
+license=('GPL' 'custom:OFL')
+arch=('any')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+source=(${pkgname}-${pkgver}::"http://openfontlibrary.org/assets/downloads/${_font_slug}/${_dlhash}/${_font_slug}.zip")
+install="${pkgname}.install"
+
+package() {
+ cd "${srcdir}"
+ install -dm755 "${pkgdir}"/usr/share/fonts/TTF
+ install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF
+
+ install -Dm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 OFL-FAQ.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -Dm644 FONTLOG.txt "${pkgdir}/usr/share/doc/${pkgname}/"
+}
+sha1sums=('17b43620d2ebe661523adc46ffab89e1744f6b54')
diff --git a/ttf-averia-serif.install b/ttf-averia-serif.install
new file mode 100644
index 00000000000..0fc2f60814b
--- /dev/null
+++ b/ttf-averia-serif.install
@@ -0,0 +1,13 @@
+post_install() {
+ fc-cache -s -f > /dev/null
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}