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 /PKGBUILD | |
download | aur-d2b06d13c731678b1ee378c4aa98a1a4c63f85e3.tar.gz |
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
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 +} |