summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b4fff54a5d0afb71806d3b3648e30282bb2f42d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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.8.0_85_g0c7e8a4
pkgrel=1
pkgdesc="Vagga is a containerisation tool without daemons"
arch=('i686' 'x86_64')
url="http://vagga.readthedocs.org"
license=('MIT')
depends=('shadow')
makedepends=()
checkdepends=()
optdepends=()
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
	export DESTDIR="$pkgdir"
	export PREFIX=/usr
	bash install.sh
}