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

Gaetan Bisson bisson at archlinux.org
Mon Feb 6 03:27:26 EST 2012


    Date: Monday, February 6, 2012 @ 03:27:26
  Author: bisson
Revision: 149202

signed rebuild for free

Modified:
  xorg-xlsfonts/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-06 08:23:09 UTC (rev 149201)
+++ PKGBUILD	2012-02-06 08:27:26 UTC (rev 149202)
@@ -1,25 +1,30 @@
-# $Id: $
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# $Id$
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=xorg-xlsfonts
 pkgver=1.0.3
-pkgrel=1
-pkgdesc="List X fonts available on X server"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
+pkgrel=2
+pkgdesc='List available X fonts'
+url='http://xorg.freedesktop.org/'
 license=('custom')
+arch=('i686' 'x86_64')
 depends=('libx11')
 makedepends=('xorg-util-macros')
-source=(http://xorg.freedesktop.org/archive/individual/app/xlsfonts-${pkgver}.tar.bz2
-        copyright.patch)
+source=("http://xorg.freedesktop.org/archive/individual/app/xlsfonts-${pkgver}.tar.bz2"
+        'copyright.patch')
 sha1sums=('9d4e0adbcb83362dd9234e90507c0528f60e309b'
           'abedbde85cc391021901c069d086882c143ac621')
 
 build() {
-  cd "${srcdir}/xlsfonts-${pkgver}"
-  ./configure --prefix=/usr
-  make
-  make DESTDIR="${pkgdir}" install
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+	cd "${srcdir}/xlsfonts-${pkgver}"
+	patch -p1 -i ../copyright.patch
+	./configure --prefix=/usr
+	make
 }
+
+package() {
+	cd "${srcdir}/xlsfonts-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list