[arch-commits] Commit in lib32-fakeroot/repos (3 files)
Felix Yan
fyan at archlinux.org
Thu Aug 7 10:09:44 UTC 2014
Date: Thursday, August 7, 2014 @ 12:09:44
Author: fyan
Revision: 116974
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-fakeroot/repos/multilib-testing-x86_64/
lib32-fakeroot/repos/multilib-testing-x86_64/PKGBUILD
(from rev 116973, lib32-fakeroot/trunk/PKGBUILD)
lib32-fakeroot/repos/multilib-testing-x86_64/fakeroot.install
(from rev 116973, lib32-fakeroot/trunk/fakeroot.install)
------------------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
fakeroot.install | 11 +++++++++++
2 files changed, 50 insertions(+)
Copied: lib32-fakeroot/repos/multilib-testing-x86_64/PKGBUILD (from rev 116973, lib32-fakeroot/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2014-08-07 10:09:44 UTC (rev 116974)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: 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.20.1
+pkgrel=1
+pkgdesc='Tool for simulating superuser privileges (32-bit)'
+arch=('x86_64')
+license=('GPL')
+url="http://packages.debian.org/fakeroot"
+groups=('multilib-devel')
+install=fakeroot.install
+depends=(lib32-glibc $_pkgbasename)
+source=("http://ftp.debian.org/debian/pool/main/f/${_pkgbasename}/${_pkgbasename}_${pkgver}.orig.tar.bz2")
+md5sums=('ef246a7cadf85282180a1e27f7377a26')
+
+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"
+}
Copied: lib32-fakeroot/repos/multilib-testing-x86_64/fakeroot.install (from rev 116973, lib32-fakeroot/trunk/fakeroot.install)
===================================================================
--- multilib-testing-x86_64/fakeroot.install (rev 0)
+++ multilib-testing-x86_64/fakeroot.install 2014-08-07 10:09:44 UTC (rev 116974)
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/ldconfig -r .
+}
+
+post_upgrade() {
+ usr/bin/ldconfig -r .
+}
+
+pre_remove() {
+ usr/bin/ldconfig -r .
+}
More information about the arch-commits
mailing list