summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 06c59b321faa..ff8c2a25a1e6 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 fc3a119e1e0e..0c72d4e69241 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 2125904e5000..000000000000
--- 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
-}