[arch-commits] Commit in ttf-linux-libertine/trunk (PKGBUILD install)

Jan Steffens heftig at archlinux.org
Thu Dec 21 22:14:21 UTC 2017


    Date: Thursday, December 21, 2017 @ 22:14:21
  Author: heftig
Revision: 313507

5.3.0-4: Drop ttf-font provides, use pkgname dir, simplify

Modified:
  ttf-linux-libertine/trunk/PKGBUILD
Deleted:
  ttf-linux-libertine/trunk/install

----------+
 PKGBUILD |   15 +++------------
 install  |   15 ---------------
 2 files changed, 3 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-21 20:52:18 UTC (rev 313506)
+++ PKGBUILD	2017-12-21 22:14:21 UTC (rev 313507)
@@ -7,25 +7,16 @@
 pkgname=ttf-linux-libertine
 pkgver=5.3.0
 _reldate=2012_07_02
-pkgrel=3
+pkgrel=4
 url='http://www.linuxlibertine.org/'
 pkgdesc='Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage'
 license=('GPL' 'custom:OFL')
 arch=('any')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-provides=('ttf-font')
 source=("https://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/${pkgver}/LinLibertine"{TTF,OTF}"_${pkgver}_${_reldate}.tgz")
 sha256sums=('24a593a949808d976850131a953c0c0d7a72299531dfbb348191964cc038d75d'
             '3eb84d13e59d390a3f0b15f93bbb590de693dd5f29c4e8083317dbbadf6fb985')
 
-install=install
-
 package() {
-	cd "${srcdir}"
-	install -dm755 "${pkgdir}"/usr/share/fonts/{OTF,TTF}
-	install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF
-	install -m644 *.otf "${pkgdir}"/usr/share/fonts/OTF
-
-	install -Dm644 OFL-1.1.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
-	install -Dm644 LICENCE.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/README
+	install -Dt "${pkgdir}/usr/share/fonts/${pkgname}" -m644 *.ttf *.otf
+	install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 OFL-1.1.txt LICENCE.txt
 }

Deleted: install
===================================================================
--- install	2017-12-21 20:52:18 UTC (rev 313506)
+++ install	2017-12-21 22:14:21 UTC (rev 313507)
@@ -1,15 +0,0 @@
-post_install() {
-	fc-cache -s
-	mkfontscale usr/share/fonts/TTF
-	mkfontdir usr/share/fonts/TTF
-	mkfontscale usr/share/fonts/OTF
-	mkfontdir usr/share/fonts/OTF
-}
-
-post_upgrade() {
-	post_install
-}
-
-post_remove() {
-	post_install
-}



More information about the arch-commits mailing list