[arch-commits] Commit in (5 files)

Jan Steffens heftig at nymeria.archlinux.org
Fri May 3 08:36:48 EDT 2013


    Date: Friday, May 3, 2013 @ 14:36:48
  Author: heftig
Revision: 89844

add lib32-fakeroot for multilib-devel

Added:
  lib32-fakeroot/
  lib32-fakeroot/repos/
  lib32-fakeroot/trunk/
  lib32-fakeroot/trunk/PKGBUILD
  lib32-fakeroot/trunk/fakeroot.install

------------------+
 PKGBUILD         |   39 +++++++++++++++++++++++++++++++++++++++
 fakeroot.install |   11 +++++++++++
 2 files changed, 50 insertions(+)

Added: lib32-fakeroot/trunk/PKGBUILD
===================================================================
--- lib32-fakeroot/trunk/PKGBUILD	                        (rev 0)
+++ lib32-fakeroot/trunk/PKGBUILD	2013-05-03 12:36:48 UTC (rev 89844)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+
+_pkgbasename=fakeroot
+pkgname=lib32-${_pkgbasename}
+pkgver=1.18.4
+pkgrel=1
+pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user (32-bit)"
+arch=('x86_64')
+license=('GPL')
+url="http://packages.debian.org/fakeroot"
+groups=('multilib-devel')
+install=fakeroot.install
+depends=(lib32-glibc $_pkgbasename)
+options=('!libtool')
+source=(http://ftp.debian.org/debian/pool/main/f/${_pkgbasename}/${_pkgbasename}_${pkgver}.orig.tar.bz2)
+md5sums=('706171d8d520b1ca1576ac73f2ceb4f3')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+  ./configure --prefix=/usr --libdir=/usr/lib32/libfakeroot \
+              --disable-static --with-ipc=sysv
+  make
+}
+
+package() {
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+  make DESTDIR=${pkgdir} install
+  rm -rf "$pkgdir"/usr/{bin,share}
+
+  install -dm755 ${pkgdir}/etc/ld.so.conf.d/
+  echo /usr/lib32/libfakeroot >"$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
+}


Property changes on: lib32-fakeroot/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-fakeroot/trunk/fakeroot.install
===================================================================
--- lib32-fakeroot/trunk/fakeroot.install	                        (rev 0)
+++ lib32-fakeroot/trunk/fakeroot.install	2013-05-03 12:36:48 UTC (rev 89844)
@@ -0,0 +1,11 @@
+post_install() {
+  sbin/ldconfig -r .
+}
+
+post_upgrade() {
+  sbin/ldconfig -r .
+}
+
+pre_remove() {
+  sbin/ldconfig -r .
+}



More information about the arch-commits mailing list