[arch-commits] Commit in fakechroot/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Sat Nov 10 00:01:41 UTC 2018
Date: Saturday, November 10, 2018 @ 00:01:36
Author: felixonmars
Revision: 338833
archrelease: copy trunk to staging-x86_64
Added:
fakechroot/repos/staging-x86_64/
fakechroot/repos/staging-x86_64/PKGBUILD
(from rev 338832, fakechroot/trunk/PKGBUILD)
fakechroot/repos/staging-x86_64/fakechroot.install
(from rev 338832, fakechroot/trunk/fakechroot.install)
--------------------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
fakechroot.install | 11 +++++++++++
2 files changed, 47 insertions(+)
Copied: fakechroot/repos/staging-x86_64/PKGBUILD (from rev 338832, fakechroot/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-11-10 00:01:36 UTC (rev 338833)
@@ -0,0 +1,36 @@
+# Maintainer : Allan McRae <allan at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=fakechroot
+pkgver=2.19
+pkgrel=2
+pkgdesc="Gives a fake chroot environment"
+arch=('x86_64')
+url="https://github.com/dex4er/fakechroot/wiki"
+license=('LGPL')
+install=fakechroot.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/dex4er/fakechroot/archive/${pkgver}.tar.gz)
+md5sums=('db6378420c769232e69508bb78612c34')
+
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sbindir=/usr/bin \
+ --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # t/fts.t fails when building on BTRFS... (really!)
+ make -k check || true
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ install -dm755 ${pkgdir}/etc/ld.so.conf.d/
+ echo '/usr/lib/libfakeroot/fakechroot/' > ${pkgdir}/etc/ld.so.conf.d/fakechroot.conf
+}
Copied: fakechroot/repos/staging-x86_64/fakechroot.install (from rev 338832, fakechroot/trunk/fakechroot.install)
===================================================================
--- staging-x86_64/fakechroot.install (rev 0)
+++ staging-x86_64/fakechroot.install 2018-11-10 00:01:36 UTC (rev 338833)
@@ -0,0 +1,11 @@
+post_install() {
+ sbin/ldconfig -r .
+}
+
+post_upgrade() {
+ sbin/ldconfig -r .
+}
+
+post_remove() {
+ sbin/ldconfig -r .
+}
More information about the arch-commits
mailing list