summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreeva2016-02-15 00:20:00 +0100
committereeva2016-02-15 00:20:00 +0100
commita5e7e10389f188b2eb2f15dddaf630d7531dcb12 (patch)
treee1b77df47e17f9ce8a3aca746f99662345f8c5b1
downloadaur-a5e7e10389f188b2eb2f15dddaf630d7531dcb12.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD22
-rw-r--r--ttf-league-spartan.install13
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..94a50eeceb4c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sun Feb 14 23:19:36 UTC 2016
+pkgbase = ttf-league-spartan
+ pkgdesc = A new classic, this is a bold, modern, geometric sans-serif font that has no problem kicking its enemies in the chest.
+ pkgver = 20160215
+ pkgrel = 1
+ url = http://openfontlibrary.org/fr/font/abibas
+ install = ttf-league-spartan.install
+ arch = any
+ groups = lmt-fonts
+ license = custom:OFL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = https://github.com/theleagueof/league-spartan/archive/master.zip
+ md5sums = 6eae098f805bfbb382077eaa84529748
+
+pkgname = ttf-league-spartan
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..d43e2e7ba65a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: samæ <samæ at marvid dot fr>
+
+_fnt_name=league-spartan
+pkgname=ttf-${_fnt_name}
+pkgver=20160215
+pkgrel=1
+pkgdesc="A new classic, this is a bold, modern, geometric sans-serif font that has no problem kicking its enemies in the chest."
+arch=('any')
+url="http://openfontlibrary.org/fr/font/abibas"
+license=('custom:OFL')
+groups=('lmt-fonts')
+depends=('fontconfig' 'xorg-font-utils')
+source=('https://github.com/theleagueof/league-spartan/archive/master.zip')
+install=${pkgname}.install
+md5sums=('6eae098f805bfbb382077eaa84529748')
+
+package() {
+ install -Dm644 ${srcdir}/${_fnt_name}-master/LeagueSpartan-Bold.otf ${pkgdir}/usr/share/fonts/OTF/LeagueSpartan-Bold.otf
+ install -Dm644 ${srcdir}/${_fnt_name}-master/_webfonts/leaguespartan-bold.ttf ${pkgdir}/usr/share/fonts/TTF/LeagueSpartan-Bold.ttf
+ install -Dm644 ${srcdir}/${_fnt_name}-master/ofl.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
+}
+
diff --git a/ttf-league-spartan.install b/ttf-league-spartan.install
new file mode 100644
index 000000000000..2125904e5000
--- /dev/null
+++ b/ttf-league-spartan.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s > /dev/null
+ echo "done."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}