[arch-commits] Commit in fakeroot/repos (6 files)
Allan McRae
allan at archlinux.org
Sat Dec 3 06:33:39 UTC 2011
Date: Saturday, December 3, 2011 @ 01:33:39
Author: allan
Revision: 144085
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
fakeroot/repos/extra-i686/
fakeroot/repos/extra-i686/PKGBUILD
(from rev 144084, fakeroot/trunk/PKGBUILD)
fakeroot/repos/extra-i686/fakeroot.install
(from rev 144084, fakeroot/trunk/fakeroot.install)
fakeroot/repos/extra-x86_64/
fakeroot/repos/extra-x86_64/PKGBUILD
(from rev 144084, fakeroot/trunk/PKGBUILD)
fakeroot/repos/extra-x86_64/fakeroot.install
(from rev 144084, fakeroot/trunk/fakeroot.install)
-------------------------------+
extra-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
extra-i686/fakeroot.install | 14 ++++++++++++++
extra-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
extra-x86_64/fakeroot.install | 14 ++++++++++++++
4 files changed, 98 insertions(+)
Copied: fakeroot/repos/extra-i686/PKGBUILD (from rev 144084, fakeroot/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-12-03 06:33:39 UTC (rev 144085)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+
+pkgname=fakeroot
+pkgver=1.18.2
+pkgrel=1
+pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/fakeroot"
+groups=('base-devel')
+install=fakeroot.install
+depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
+options=('!libtool')
+source=(http://ftp.debian.org/debian/pool/main/f/${pkgname}/${pkgname}_${pkgver}.orig.tar.bz2)
+md5sums=('79f32331358ad58499704ea5e19fd0ae')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
+ --disable-static --with-ipc=sysv
+ make
+}
+
+package() {
+ cd "${srcdir}/${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 README for sysv/tcp usage
+ install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
+}
Copied: fakeroot/repos/extra-i686/fakeroot.install (from rev 144084, fakeroot/trunk/fakeroot.install)
===================================================================
--- extra-i686/fakeroot.install (rev 0)
+++ extra-i686/fakeroot.install 2011-12-03 06:33:39 UTC (rev 144085)
@@ -0,0 +1,14 @@
+post_install() {
+ sbin/ldconfig -r .
+}
+
+post_upgrade() {
+ if [ "$(vercmp $2 1.14.4-2)" -lt 0 ]; then
+ sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
+ fi
+ sbin/ldconfig -r .
+}
+
+pre_remove() {
+ sbin/ldconfig -r .
+}
Copied: fakeroot/repos/extra-x86_64/PKGBUILD (from rev 144084, fakeroot/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2011-12-03 06:33:39 UTC (rev 144085)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+
+pkgname=fakeroot
+pkgver=1.18.2
+pkgrel=1
+pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/fakeroot"
+groups=('base-devel')
+install=fakeroot.install
+depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
+options=('!libtool')
+source=(http://ftp.debian.org/debian/pool/main/f/${pkgname}/${pkgname}_${pkgver}.orig.tar.bz2)
+md5sums=('79f32331358ad58499704ea5e19fd0ae')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
+ --disable-static --with-ipc=sysv
+ make
+}
+
+package() {
+ cd "${srcdir}/${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 README for sysv/tcp usage
+ install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
+}
Copied: fakeroot/repos/extra-x86_64/fakeroot.install (from rev 144084, fakeroot/trunk/fakeroot.install)
===================================================================
--- extra-x86_64/fakeroot.install (rev 0)
+++ extra-x86_64/fakeroot.install 2011-12-03 06:33:39 UTC (rev 144085)
@@ -0,0 +1,14 @@
+post_install() {
+ sbin/ldconfig -r .
+}
+
+post_upgrade() {
+ if [ "$(vercmp $2 1.14.4-2)" -lt 0 ]; then
+ sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
+ fi
+ sbin/ldconfig -r .
+}
+
+pre_remove() {
+ sbin/ldconfig -r .
+}
More information about the arch-commits
mailing list