# $Id: PKGBUILD 65090 2012-02-20 03:36:03Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Frop Doe # Contributor: Guillermo A. Amaral (thewonka) # Mainteiner: Guillermo A. Amaral (thewonka) pkgname=chrootuid pkgver=1.3 pkgrel=5 arch=(i686 x86_64) pkgdesc="Runs a command in a restricted environment." url="ftp://ftp.porcupine.org/pub/security/index.html" license=("BSD") depends=(glibc) source=(ftp://ftp.porcupine.org/pub/security/$pkgname$pkgver.tar.gz ftp://ftp.porcupine.org/pub/security/chrootuid_license) md5sums=('15510abadf5de189e1c22a1544dc926a' '11383ad1d66445640f1dec3478a2b53f') build() { cd $srcdir/$pkgname$pkgver make install -D -m755 $srcdir/$pkgname$pkgver/chrootuid $pkgdir/usr/sbin/chrootuid install -D -m644 $srcdir/$pkgname$pkgver/chrootuid.1 $pkgdir/usr/share/man/man1/chrootuid.1 install -D -m644 $srcdir/chrootuid_license $pkgdir/usr/share/licenses/$pkgname/license }