46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=fakechroot
|
|
pkgver=2.20.1
|
|
pkgrel=02
|
|
pkgdesc="Gives a fake chroot environment"
|
|
arch=('x86_64')
|
|
url="https://github.com/dex4er/fakechroot/wiki"
|
|
depends=('sh' 'perl')
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/dex4er/fakechroot/archive/${pkgver}.tar.gz)
|
|
# no_STAT_VER.patch)
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --sbindir=/usr/bin \
|
|
--libdir=/usr/lib/libfakeroot --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
|
|
# t/fts.t fails when building on BTRFS... (really!)
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd $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
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('LGPL')
|
|
|
|
sha256sums=(7f9d60d0d48611969e195fadf84d05f6c74f71bbf8f41950ad8f5bf061773e18) # fakechroot-2.20.1.tar.gz
|
|
# 3e2047d1888ee983cbec42e0d11d89fbb89e06b202fa97668ddd04e393acab4c) # no_STAT_VER.patch
|