summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLightDot2018-02-22 18:00:07 +0100
committerLightDot2018-02-22 18:00:07 +0100
commitb9469e991a457c58da0b63fd03c572aef430857a (patch)
treed211c47b06fba03b28ed9069e51ac3806f1edfb7
parent7712aa8c9ce61085417a810e1779802b60ac45bb (diff)
downloadaur-b9469e991a457c58da0b63fd03c572aef430857a.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
-rw-r--r--ttf-league-gothic.install13
3 files changed, 8 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dbff14919ed..986960d3c04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,16 @@
-# Generated by mksrcinfo v8
-# Sun Feb 14 23:51:49 UTC 2016
pkgbase = ttf-league-gothic
pkgdesc = League Gothic is a revival of an old classic, and one of our favorite typefaces, Alternate Gothic #1
pkgver = 20160215
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/league-gothic
- install = ttf-league-gothic.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
+ depends = xorg-fonts-encodings
depends = xorg-font-utils
conflicts = otf-league-gothic
- source = https://github.com/theleagueof/league-gothic/archive/master.zip
+ source = ttf-league-gothic-20160215.zip::https://github.com/theleagueof/league-gothic/archive/master.zip
md5sums = e19525cac31d325b4604d01e36c9fd6c
pkgname = ttf-league-gothic
diff --git a/PKGBUILD b/PKGBUILD
index 297900dfece..45afd64f5f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
-# 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-gothic
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=1
+pkgrel=2
pkgdesc="League Gothic is a revival of an old classic, and one of our favorite typefaces, Alternate Gothic #1"
arch=('any')
url="http://theleagueofmoveabletype.com/${_fnt_name}"
license=('custom:OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-font-utils')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
conflicts=('otf-league-gothic')
-source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
-install=${pkgname}.install
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
md5sums=('e19525cac31d325b4604d01e36c9fd6c')
package() {
@@ -28,4 +28,3 @@ package() {
install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}
-
diff --git a/ttf-league-gothic.install b/ttf-league-gothic.install
deleted file mode 100644
index 2125904e500..00000000000
--- a/ttf-league-gothic.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
-}