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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Jul 31 09:18:54 UTC 2014


    Date: Thursday, July 31, 2014 @ 11:18:54
  Author: bpiotrowski
Revision: 218438

upgpkg: fakeroot 1.20.1-1

new upstream release

Modified:
  fakeroot/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-31 09:10:17 UTC (rev 218437)
+++ PKGBUILD	2014-07-31 09:18:54 UTC (rev 218438)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
 # Contributor: Jochem Kossen <j.kossen at home.nl>
 
 pkgname=fakeroot
-pkgver=1.20
+pkgver=1.20.1
 pkgrel=1
-pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
+pkgdesc='Tool for simulating superuser privileges'
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://packages.debian.org/fakeroot"
@@ -12,23 +13,27 @@
 groups=('base-devel')
 install=fakeroot.install
 depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
-source=(http://ftp.debian.org/debian/pool/main/f/${pkgname}/${pkgname}_${pkgver}.orig.tar.bz2)
-md5sums=('9777a81d4d1878422447a1d0030c1f9f')
+source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2)
+md5sums=('ef246a7cadf85282180a1e27f7377a26')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
-              --disable-static --with-ipc=sysv
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr \
+    --libdir=/usr/lib/libfakeroot \
+    --disable-static \
+    --with-ipc=sysv
+
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR=${pkgdir} install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 
-  install -dm755 ${pkgdir}/etc/ld.so.conf.d/
-  echo '/usr/lib/libfakeroot' > ${pkgdir}/etc/ld.so.conf.d/fakeroot.conf
+  install -dm755 "$pkgdir"/etc/ld.so.conf.d/
+  echo '/usr/lib/libfakeroot' > "$pkgdir"/etc/ld.so.conf.d/fakeroot.conf
 
   # install README for sysv/tcp usage
-  install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
+  install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
 }




More information about the arch-commits mailing list