summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLightDot2018-02-22 18:05:56 +0100
committerLightDot2018-02-22 18:05:56 +0100
commit91d7f560efc46213f6d91d7e0c37d1215866488d (patch)
tree0328335be78d7e733ee50484729c414b8dce32ea
parent23f3152ce9a97c7f151bac06ae83e554be1e58c5 (diff)
downloadaur-91d7f560efc46213f6d91d7e0c37d1215866488d.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
-rw-r--r--ttf-league-spartan.install13
3 files changed, 10 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a6aeeef1c0f..fe85dca54a6e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
-# Generated by mksrcinfo v8
-# Sun Feb 14 23:53:55 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 = 2
+ pkgrel = 3
url = https://www.theleagueofmoveabletype.com/league-spartan
- install = ttf-league-spartan.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
+ depends = xorg-fonts-encodings
depends = xorg-font-utils
- source = https://github.com/theleagueof/league-spartan/archive/master.zip
+ source = ttf-league-spartan-20160215.zip::https://github.com/theleagueof/league-spartan/archive/master.zip
md5sums = 6eae098f805bfbb382077eaa84529748
pkgname = ttf-league-spartan
diff --git a/PKGBUILD b/PKGBUILD
index 69de2c37513c..bee1ba1f9548 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
-# Maintainer: samæ <samæ at marvid dot fr>
+# Maintainer: LightDot <lightdot -a-t- g m a i l>
+# Contributor: samæ <samæ at marvid dot fr>
_fnt_name=league-spartan
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=2
+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."
arch=('any')
url="https://www.theleagueofmoveabletype.com/${_fnt_name}"
license=('custom:OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-font-utils')
-source=('https://github.com/theleagueof/league-spartan/archive/master.zip')
-install=${pkgname}.install
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/league-spartan/archive/master.zip")
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/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
deleted file mode 100644
index 2125904e5000..000000000000
--- a/ttf-league-spartan.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -s > /dev/null
- echo "done."
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}