summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD39
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..470a7772b6f
--- /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 00000000000..fb2bed042c0
--- /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"
+}