diff options
author | Roman Rader | 2015-08-19 18:14:21 +0300 |
---|---|---|
committer | Roman Rader | 2015-08-19 18:18:39 +0300 |
commit | d2b06d13c731678b1ee378c4aa98a1a4c63f85e3 (patch) | |
tree | 975be3c11c486eae1531a91f193ec9f0e05be5f0 | |
download | aur-d2b06d13c731678b1ee378c4aa98a1a4c63f85e3.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 39 | ||||
-rw-r--r-- | vagga.install | 8 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5f1b8e4e42eb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = vagga-bin + pkgdesc = Vagga is a containerisation tool without daemons + pkgver = 0.2.5_141_g18d8b61 + pkgrel = 1 + url = http://vagga.readthedocs.org + install = vagga.install + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = make + makedepends = cargo-bin + depends = shadow + depends = glibc-static + optdepends = linux-user-ns-enabled: kernel with CONFIG_USER_NS enabled + +pkgname = vagga-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d4588743a72e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Roman Rader <antigluk@gmail.com> +pkgname=vagga-bin + +vagga_source_version() { + curl -s http://files.zerogw.com/vagga/latest-testing.html | sed -e 's/<[^>]*>//g' -e 's/vagga-//g' -e 's/.tar.xz//g' +} +pkgver() { + vagga_source_version | tr '-' '_' +} +pkgver=0.2.5_141_g18d8b61 +pkgrel=1 +pkgdesc="Vagga is a containerisation tool without daemons" +arch=('i686' 'x86_64') +url="http://vagga.readthedocs.org" +license=('MIT') +depends=('shadow' 'glibc-static') +makedepends=('git' 'make' 'cargo-bin') +checkdepends=() +optdepends=('linux-user-ns-enabled: kernel with CONFIG_USER_NS enabled') +provides=() +conflicts=() +replaces=() +backup=() +options=() +install=vagga.install +changelog= +source=() +noextract=() + +prepare() { + [ -d "$pkgname" ] && rm -r "$pkgname" + mkdir "$pkgname" + curl -O vagga.tar.xz "http://files.zerogw.com/vagga/vagga-`vagga_source_version`.tar.xz" | tar -xJ -C "$pkgname" +} + +package() { + cd "$pkgname"/vagga + DESTDIR="$pkgdir" PREFIX=/usr bash install.sh +} diff --git a/vagga.install b/vagga.install new file mode 100644 index 000000000000..ac5b0acc0ae7 --- /dev/null +++ b/vagga.install @@ -0,0 +1,8 @@ +post_install() { + cat << EOF +==> Install linux-user-ns-enabled kernel from AUR if you're using default without USER_NS_ENABLED option (can be checked with # zgrep CONFIG_USER_NS /proc/config.gz) +==> Probably you need to set up /etc/subuid /etc/subgid files +==> More info how to get Vagga to work see here: http://vagga.readthedocs.org/en/latest/installation.html +EOF +} + |