diff options
author | Lukas Sabota | 2015-12-30 22:03:11 -0500 |
---|---|---|
committer | Lukas Sabota | 2015-12-30 22:03:11 -0500 |
commit | 42c5771504bd9a6846d6dee7f2f2487ba131cca1 (patch) | |
tree | dcad7271659cf5543c7d0bc66ea4bff7a41c2019 /PKGBUILD | |
parent | 9fa1aaf0eb3a39c422c8fdf97da793c25f054c7f (diff) | |
download | aur-qjoypad-panzi-git.tar.gz |
add prepare function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -15,7 +15,7 @@ conflicts=('qjoypad') _gitroot=https://github.com/panzi/qjoypad.git _gitname=qjoypad -build() { +prepare() { cd "$srcdir" msg "Connecting to GIT server...." @@ -26,7 +26,13 @@ build() { git clone "$_gitroot" fi + pkgver=pkgver + msg "GIT checkout done or server timeout" +} + +build() { + cd "$srcdir" msg "Starting build..." rm -rf "$srcdir/$_gitname-build" |