diff options
author | Hyacinthe Cartiaux | 2015-06-04 10:37:54 +0200 |
---|---|---|
committer | Hyacinthe Cartiaux | 2015-06-09 10:18:46 +0200 |
commit | 87c61a7eeaa894587f80352aabee712160756829 (patch) | |
tree | 5b2968806cdc676ad91eb062fdcf1354c7f4e9cc | |
parent | 009ba9fa4d4dfb78b3532327cfef44b42dfd9dc1 (diff) | |
download | aur-87c61a7eeaa894587f80352aabee712160756829.tar.gz |
[qconf-git] Simplify the PKGBUILD...
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 4 insertions, 24 deletions
@@ -1,6 +1,6 @@ pkgbase = qconf-git pkgdesc = Qt5 compatible qconf - Qt configuration tool - pkgver = 1.5_20150603 + pkgver = 1.5_20150604 pkgrel = 1 url = https://github.com/psi-plus/qconf arch = i686 @@ -1,6 +1,6 @@ # Maintainer: Hyacinthe Cartiaux pkgname=qconf-git -pkgver=1.5_20150603 +pkgver=1.5_20150604 pkgrel=1 pkgdesc="Qt5 compatible qconf - Qt configuration tool" arch=('i686' 'x86_64') @@ -17,27 +17,8 @@ pkgver() { echo 1.5_$(date +"%Y%m%d") } -_gitroot=https://github.com/psi-plus/ -_gitname=qconf 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" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build/" - - # BUILD HERE + cd $srcdir/qconf ./configure --prefix=/usr make @@ -45,8 +26,7 @@ build() { } package() { - cd $srcdir/qconf-build - + cd $srcdir/qconf make INSTALL_ROOT="$pkgdir" install } |