db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / fakechroot / trunk / PKGBUILD
blob833dc7788251eca9f06bfc5cd9b54f0d583879de
1 # Maintainer:
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Aaron Griffin <aaron@archlinux.org>
5 pkgname=fakechroot
6 pkgver=2.20.1
7 pkgrel=2
8 pkgdesc="Gives a fake chroot environment"
9 arch=('x86_64')
10 url="https://github.com/dex4er/fakechroot/wiki"
11 license=('LGPL')
12 depends=('sh' 'perl')
13 source=($pkgname-$pkgver.tar.gz::https://github.com/dex4er/fakechroot/archive/${pkgver}.tar.gz)
14 md5sums=('69612efa06636e79a56898512222b0fc')
15 sha512sums=('50f96d10de52eab32319746798396b972c021fb2e30679a2697214e01a974afbb4e0205dc51d5d9c7b57ac462d1a6fd14fd46ca9a92eefd20beef0d65ea76e0f')
18 build() {
19   cd $pkgname-$pkgver
20   ./configure --prefix=/usr --sbindir=/usr/bin \
21     --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
22   make
25 check() {
26   cd $pkgname-$pkgver
28   # t/fts.t fails when building on BTRFS...  (really!)
29   make -k check
31   
32 package() {
33   cd $pkgname-$pkgver
34   make DESTDIR="${pkgdir}" install
35   
36   install -dm755 "${pkgdir}"/etc/ld.so.conf.d/
37   echo '/usr/lib/libfakeroot/fakechroot/' > "${pkgdir}"/etc/ld.so.conf.d/fakechroot.conf