[arch-commits] Commit in fakechroot/trunk (PKGBUILD fakechroot.install)
Allan McRae
allan at archlinux.org
Sun Jun 22 07:08:00 UTC 2008
Date: Sunday, June 22, 2008 @ 03:07:59
Author: allan
Revision: 3333
upgpkg: fakechroot 2.6-1
Modified:
fakechroot/trunk/PKGBUILD
fakechroot/trunk/fakechroot.install
--------------------+
PKGBUILD | 24 +++++++++++++-----------
fakechroot.install | 9 ---------
2 files changed, 13 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-06-22 00:31:42 UTC (rev 3332)
+++ PKGBUILD 2008-06-22 07:07:59 UTC (rev 3333)
@@ -1,22 +1,24 @@
# $Id$
-# Maintainer : Aaron Griffin <aaron at archlinux.org>
+# Maintainer : Allan McRae <allan at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
pkgname=fakechroot
-pkgver=2.5
-pkgrel=2
-pkgdesc="gives a fake chroot environment"
-arch=(i686 x86_64)
+pkgver=2.6
+pkgrel=1
+pkgdesc="Gives a fake chroot environment"
+arch=('i686' 'x86_64')
url="http://fakechroot.alioth.debian.org"
+license=('LGPL')
+options=('!libtool')
install=fakechroot.install
-depends=('glibc')
-source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_$pkgver.orig.tar.gz)
-md5sums=('b885951b98f4316f9686699e9853513d')
-options=('nolibtool')
+source=(http://ftp.debian.org/debian/pool/main/f/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
+md5sums=('1ac07b265890cb3b5379327c3c8b07ab')
+
build()
{
- cd $startdir/src/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --libdir=/usr/lib/libfakeroot
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=${pkgdir} install
}
Modified: fakechroot.install
===================================================================
--- fakechroot.install 2008-06-22 00:31:42 UTC (rev 3332)
+++ fakechroot.install 2008-06-22 07:07:59 UTC (rev 3333)
@@ -1,4 +1,3 @@
-# arg 1: the new package version
post_install() {
if [ ! "`grep /usr/lib/libfakechroot etc/ld.so.conf`" ]; then
echo -n "updating /etc/ld.so.conf... "
@@ -8,21 +7,13 @@
fi
}
-# arg 1: the new package version
-# arg 2: the old package version
post_upgrade() {
post_install $1
}
-# arg 1: the old package version
pre_remove() {
echo -ne "\nupdating /etc/ld.so.conf... "
sed -i -e '/\/usr\/lib\/libfakechroot/d' etc/ld.so.conf
sbin/ldconfig -r .
echo "done."
}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list