[arch-commits] Commit in xorg-fonts-type1/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Jul 6 16:43:30 EDT 2008


    Date: Sunday, July 6, 2008 @ 16:43:30
  Author: jgc
Revision: 4404

upgpkg: xorg-fonts-type1 7.3-1

Modified:
  xorg-fonts-type1/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-06 20:34:09 UTC (rev 4403)
+++ PKGBUILD	2008-07-06 20:43:30 UTC (rev 4404)
@@ -2,10 +2,11 @@
 #Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=xorg-fonts-type1
-pkgver=1.0.1
+pkgver=7.3
 pkgrel=1
 pkgdesc="X.org Type1 fonts"
 arch=(i686 x86_64)
+license=('custom')
 url="http://xorg.freedesktop.org/"
 depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
 install=xfonts.install
@@ -13,22 +14,24 @@
         ${url}/releases/individual/font/font-bh-type1-1.0.0.tar.bz2
         ${url}/releases/individual/font/font-bitstream-type1-1.0.0.tar.bz2
         ${url}/releases/individual/font/font-ibm-type1-1.0.0.tar.bz2
-        ${url}/releases/individual/font/font-xfree86-type1-1.0.0.tar.bz2)
+        ${url}/releases/individual/font/font-xfree86-type1-1.0.1.tar.bz2)
 md5sums=('aa7ff4bd20b961afda9c15d103b972a5' '46588b22678e440741d6220bc3945cbf'\
          '6610475e2e231242f8f2122a709c3695' '8e8733051371e2b51123376b49f5d3ea'\
-         'e66f36a6d68203cc4cf7b56ebbb192dd')
+         'd7e965776c7f0c30b0f09742176fb77a')
 
 build() {
   cd ${startdir}/src
-  for dir in font-*-type1-1.0.0 font-*-type1-1.0.1; do
+  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+  for dir in font-*-type1-1.?.?; do
     pushd ${dir}
       ./configure --prefix=/usr \
                   --with-mapfiles=/usr/share/fonts/util \
 		  --with-fontdir=/usr/share/fonts/Type1
       make || return 1
       make DESTDIR=${startdir}/pkg install || return 1
+      lic=`echo $dir | awk -F '-' '{ print $2 }'`
+      install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/${lic}
     popd
   done
   rm -f ${startdir}/pkg/usr/share/fonts/Type1/fonts.*
 }
-





More information about the arch-commits mailing list