diff options
author | William Termini | 2016-06-08 23:50:14 +0800 |
---|---|---|
committer | William Termini | 2016-06-08 23:50:14 +0800 |
commit | c4d9810c899c7149fba597243655909e2a9bf0da (patch) | |
tree | 29324cebb3ea77bb26c40db9bbe1b7b4eb0a26a3 /PKGBUILD | |
parent | 9869bca28c77360e2ef7dd5e47b70ed8f134aeb0 (diff) | |
download | aur-c4d9810c899c7149fba597243655909e2a9bf0da.tar.gz |
fix pkgbuild
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 4 insertions, 18 deletions
@@ -9,6 +9,9 @@ license=('GPL') depends=(sdl gtk2) makedepends=(git make autoconf) conflicts=('basiliskii') +sha1sums=('SKIP') +source=(git+https://github.com/cebix/macemu.git) + pkgver() { cd "$srcdir/macemu" @@ -16,29 +19,12 @@ pkgver() { } -_gitroot='https://github.com/cebix/macemu.git' -_gitname='macemu' build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" + cd "$srcdir/macemu" msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - # # BUILD HERE # |