summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyacinthe Cartiaux2015-06-04 10:37:54 +0200
committerHyacinthe Cartiaux2015-06-09 10:18:46 +0200
commit87c61a7eeaa894587f80352aabee712160756829 (patch)
tree5b2968806cdc676ad91eb062fdcf1354c7f4e9cc
parent009ba9fa4d4dfb78b3532327cfef44b42dfd9dc1 (diff)
downloadaur-87c61a7eeaa894587f80352aabee712160756829.tar.gz
[qconf-git] Simplify the PKGBUILD...
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD26
2 files changed, 4 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85eeed1777b8..4e2c26aff493 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index aaa877123d5f..8879a3e0aaf2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}