summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLightDot2018-02-22 18:11:00 +0100
committerLightDot2018-02-22 18:11:00 +0100
commit014bc1cd0e9ef97bd3affa4397b1d750e5ce0f60 (patch)
treebddbdca7b8e8c60901918e988e6531d76b79c525
parent75e07e5a176404247bc84f36c6b05aed9484bed7 (diff)
downloadaur-014bc1cd0e9ef97bd3affa4397b1d750e5ce0f60.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD17
-rw-r--r--ttf-linden-hill.install13
3 files changed, 10 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06c59b321fa..ff8c2a25a1e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
-# Generated by mksrcinfo v8
-# Mon Feb 15 00:18:12 UTC 2016
pkgbase = ttf-linden-hill
pkgdesc = A digital version of Frederic Goudy’s font Deepdene.
pkgver = 20160215
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/linden-hill
- install = ttf-linden-hill.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
+ depends = xorg-fonts-encodings
depends = xorg-font-utils
- source = https://github.com/theleagueof/linden-hill/archive/master.zip
+ source = ttf-linden-hill-20160215.zip::https://github.com/theleagueof/linden-hill/archive/master.zip
md5sums = 7803c1e2b05f607320535042e976ab11
pkgname = ttf-linden-hill
diff --git a/PKGBUILD b/PKGBUILD
index fc3a119e1e0..0c72d4e6924 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,24 @@
-# 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=linden-hill
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=1
+pkgrel=2
pkgdesc="A digital version of Frederic Goudy’s font Deepdene."
arch=('any')
url="http://theleagueofmoveabletype.com/${_fnt_name}"
license=('custom:OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-font-utils')
-#conflicts=('otf-junction')
-source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
-install=${pkgname}.install
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
md5sums=('7803c1e2b05f607320535042e976ab11')
package() {
- install -Dm644 ${srcdir}/${_fnt_name}-master/Linden\ Hill.otf ${pkgdir}/usr/share/fonts/OTF/LindenHill.otf
- install -Dm644 ${srcdir}/${_fnt_name}-master/Linden\ Hill\ Italic.otf ${pkgdir}/usr/share/fonts/OTF/LindenHillItalic.otf
-
+ install -Dm644 ${srcdir}/${_fnt_name}-master/Linden\ Hill.otf ${pkgdir}/usr/share/fonts/OTF/LindenHill.otf
+ install -Dm644 ${srcdir}/${_fnt_name}-master/Linden\ Hill\ Italic.otf ${pkgdir}/usr/share/fonts/OTF/LindenHillItalic.otf
install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/LindenHill-webfont.ttf ${pkgdir}/usr/share/fonts/TTF/LindenHill.ttf
install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/LindenHill-Italic-webfont.ttf ${pkgdir}/usr/share/fonts/TTF/LindenHillItalic.ttf
install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}
-
diff --git a/ttf-linden-hill.install b/ttf-linden-hill.install
deleted file mode 100644
index 2125904e500..00000000000
--- a/ttf-linden-hill.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
-}