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

Gaetan Bisson bisson at archlinux.org
Fri Jun 17 10:02:33 UTC 2011


    Date: Friday, June 17, 2011 @ 06:02:33
  Author: bisson
Revision: 127632

upstream update

Modified:
  ttf-linux-libertine/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++----------------------
 1 file changed, 11 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-17 09:08:05 UTC (rev 127631)
+++ PKGBUILD	2011-06-17 10:02:33 UTC (rev 127632)
@@ -4,7 +4,7 @@
 # Contributor: <AttilaH©web.de>
 
 pkgname=ttf-linux-libertine
-pkgver=4.7.5
+pkgver=5.1.3
 pkgrel=1
 pkgdesc="Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage"
 arch=('any')
@@ -12,28 +12,17 @@
 url="http://linuxlibertine.sourceforge.net/"
 depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
 install=libertine.install
-source=(http://downloads.sourceforge.net/sourceforge/linuxlibertine/LinLibertineFont-$pkgver-2.tgz)
-md5sums=('789b4d8f0dd93b7234b7996e54a6a983')
+source=("http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3/LinLibertineTTF-5.1.3_2011_06_15.tgz"
+        "http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3/LinLibertineOTF-5.1.3_2011_06_15.tgz")
+sha1sums=('230de74b685a9fdbe86f2341c4fb9c49fca7af15'
+          'e9f8882073fb2788312a4a2d02eb5dcf7a3ff653')
 
 build() {
-  cd ${srcdir}/LinLibertine/Fonts
-  for f in *.ttf; do
-    name=$(echo $f | cut -f1 -d'-');
-    mv $f $name.ttf;
-  done
-  for f in *.otf ; do
-    name=$(echo $f | cut -f1 -d'-');
-    mv $f $name.otf;
-  done
-}
+	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
 
-package() {  
-  cd ${srcdir}/LinLibertine/Fonts
-  install -dm755 $pkgdir/usr/share/fonts/{OTF,TTF}
-  install -m644 *.ttf $pkgdir/usr/share/fonts/TTF
-  install -m644 *.otf $pkgdir/usr/share/fonts/OTF
-
-  cd ${srcdir}/LinLibertine/
-  install -Dm644 OFL.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/README
+	install -Dm644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+	install -Dm644 LICENCE.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/README
 }




More information about the arch-commits mailing list