summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD21
2 files changed, 16 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe85dca54a6e..4469ae85558c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
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.
+ pkgdesc = A geometric sans-serif revival of ATF's classic Spartan
pkgver = 20160215
- pkgrel = 3
+ pkgrel = 4
url = https://www.theleagueofmoveabletype.com/league-spartan
arch = any
groups = lmt-fonts
- license = custom:OFL
- depends = fontconfig
- depends = xorg-fonts-encodings
- depends = xorg-font-utils
- source = ttf-league-spartan-20160215.zip::https://github.com/theleagueof/league-spartan/archive/master.zip
- md5sums = 6eae098f805bfbb382077eaa84529748
+ license = OFL
+ source = ttf-league-spartan-20160215.zip::https://github.com/theleagueof/league-spartan/archive/c350408b07ca284b6c097b7194f2f14f428013f5.zip
+ sha256sums = ddac4b049281424adfefec1cc7b2bca3e1f64897cb4edc421f6b2c217aa3c141
pkgname = ttf-league-spartan
diff --git a/PKGBUILD b/PKGBUILD
index a1f1cff2a104..d01567ab433d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,20 @@
_fnt_name=league-spartan
pkgname=ttf-$_fnt_name
pkgver=20160215
-pkgrel=3
-pkgdesc="A new classic, this is a bold, modern, geometric sans-serif font that has no problem kicking its enemies in the chest."
+# 20140922
+_sha=c350408b07ca284b6c097b7194f2f14f428013f5
+pkgrel=4
+pkgdesc="A geometric sans-serif revival of ATF's classic Spartan"
arch=('any')
url="https://www.theleagueofmoveabletype.com/$_fnt_name"
-license=('custom:OFL')
+license=('OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/league-spartan/archive/master.zip")
-md5sums=('6eae098f805bfbb382077eaa84529748')
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/league-spartan/archive/$_sha.zip")
+sha256sums=('ddac4b049281424adfefec1cc7b2bca3e1f64897cb4edc421f6b2c217aa3c141')
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
+ cd "$_fnt_name-$_sha"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" _webfonts/*.ttf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" ofl*.markdown
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" readme.markdown
}