description="Gives a fake chroot environment"
url="https://github.com/dex4er/fakechroot/wiki"
packager="tnut <tnut@nutyx.org>"
contributors="Greg, Minzords"

name=fakechroot
version=2.20.1

source=(https://github.com/dex4er/fakechroot/releases/download/$version/fakechroot-$version.tar.gz)


build () {

  cd $name-$version
  ./configure --prefix=/usr --sysconfdir=/etc
  make

  make DESTDIR=$PKG install

  # Obsolet lib
  rm $PKG/usr/lib/fakechroot/libfakechroot.la
}
