[arch-commits] Commit in ttf-dejavu/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sun Apr 29 07:06:06 EDT 2012


    Date: Sunday, April 29, 2012 @ 07:06:06
  Author: allan
Revision: 157780

upgpkg: ttf-dejavu 2.33-3

LGC subset is a waste (FS#23076)

Modified:
  ttf-dejavu/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 10:55:02 UTC (rev 157779)
+++ PKGBUILD	2012-04-29 11:06:06 UTC (rev 157780)
@@ -5,26 +5,23 @@
 
 pkgname=ttf-dejavu
 pkgver=2.33
-pkgrel=2
+pkgrel=3
 pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
 arch=('any')
 url="http://dejavu-fonts.org/wiki/Main_Page"
 license=('custom')
 depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontscale' 'xorg-mkfontdir')
 install=ttf-dejavu.install
-source=(http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-{,lgc-}fonts-ttf-${pkgver}.tar.bz2)
-md5sums=('8b601e91725b6d69141b0fcf527948c0'
-         'fde03af699ccf8833f09d7002e3060ef')
+source=(http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2)
+md5sums=('8b601e91725b6d69141b0fcf527948c0')
 
 package() {
   install -dm755 "${pkgdir}"/etc/fonts/conf.avail
   install -dm755 "${pkgdir}"/usr/share/fonts/TTF
 
-  for i in dejavu-{,lgc-}fonts-ttf; do
-    cd "${srcdir}"/${i}-${pkgver}
-    install -m644 ttf/*.ttf "${pkgdir}"/usr/share/fonts/TTF/
-    install -m644 fontconfig/*.conf "${pkgdir}"/etc/fonts/conf.avail/
-  done
+  cd "${srcdir}"/dejavu-fonts-ttf-${pkgver}
+  install -m644 ttf/*.ttf "${pkgdir}"/usr/share/fonts/TTF/
+  install -m644 fontconfig/*.conf "${pkgdir}"/etc/fonts/conf.avail/
 
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list