diff options
author | Andy Weidenbaum | 2017-02-17 14:04:00 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2017-02-17 14:04:00 -0800 |
commit | 51f55ffb3c554057d3ce6a7a37d36b98b6fa002e (patch) | |
tree | e303e60959f689bbf0826c91465b4056570bb436 | |
download | aur-51f55ffb3c554057d3ce6a7a37d36b98b6fa002e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..470a7772b6fd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Fri Feb 17 22:03:51 UTC 2017 +pkgbase = sandboxctl + pkgdesc = Automates the creation and management of chroot-based sandboxes + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/jmmv/sandboxctl + arch = any + license = BSD + makedepends = autoconf + makedepends = automake + makedepends = make + makedepends = pkg-config + depends = shtk + source = sandboxctl-1.0.tar.gz::https://github.com/jmmv/sandboxctl/releases/download/sandboxctl-1.0/sandboxctl-1.0.tar.gz + sha256sums = 4b404885c4a3a206eb31f620cf6c9a4bcece585bb134ebc7a8d6f06b7c1c5a59 + +pkgname = sandboxctl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb2bed042c04 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=sandboxctl +pkgver=1.0 +pkgrel=1 +pkgdesc="Automates the creation and management of chroot-based sandboxes" +arch=('any') +depends=('shtk') +makedepends=('autoconf' 'automake' 'make' 'pkg-config') +url="https://github.com/jmmv/sandboxctl" +license=('BSD') +source=($pkgname-$pkgver.tar.gz::https://github.com/jmmv/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('4b404885c4a3a206eb31f620cf6c9a4bcece585bb134ebc7a8d6f06b7c1c5a59') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Building...' + #autoreconf -i -s + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib/sandboxctl \ + --sysconfdir=/etc \ + --sharedstatedir=/usr/share/sandboxctl \ + --localstatedir=/var/lib/sandboxctl + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Installing license...' + install -Dm 644 COPYING -t "$pkgdir/usr/share/licenses/sandboxctl" + + msg2 'Installing...' + make DESTDIR="$pkgdir" install + # mv "$pkgdir/usr/tests" "$pkgdir/usr/share/sandboxctl" +} |