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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Nov 11 11:49:27 UTC 2014


    Date: Tuesday, November 11, 2014 @ 12:49:26
  Author: bpiotrowski
Revision: 226047

upgpkg: expat 2.1.0-4

free rebuild

Modified:
  expat/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-11 08:27:12 UTC (rev 226046)
+++ PKGBUILD	2014-11-11 11:49:26 UTC (rev 226047)
@@ -1,31 +1,31 @@
 # $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
 
 pkgname=expat
 pkgver=2.1.0
-pkgrel=3
-pkgdesc="An XML parser library"
+pkgrel=4
+pkgdesc='An XML parser library'
 arch=('i686' 'x86_64')
-url="http://expat.sourceforge.net/"
+url='http://expat.sourceforge.net/'
 license=('custom')
 depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/expat/$pkgname-$pkgver.tar.gz)
 md5sums=('dd7dab7a5fea97d2a6a43f511449b7cd')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make check
+  make -C $pkgname-$pkgver check
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }


More information about the arch-commits mailing list