summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qgo/PKGBUILD')
-rw-r--r--community/qgo/PKGBUILD44
1 files changed, 25 insertions, 19 deletions
diff --git a/community/qgo/PKGBUILD b/community/qgo/PKGBUILD
index f650f97e7..f58924985 100644
--- a/community/qgo/PKGBUILD
+++ b/community/qgo/PKGBUILD
@@ -1,35 +1,41 @@
-# $Id: PKGBUILD 88006 2013-04-09 21:47:09Z eric $
+# $Id: PKGBUILD 98278 2013-10-07 22:46:15Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: Magnus Jonsson <jmagnusj@gmail.com>
pkgname=qgo
-pkgver=1.5.4
-pkgrel=5
-pkgdesc="Go client and full featured SGF editor"
+pkgver=2.0.0.dda95c9
+pkgrel=1
+pkgdesc='Go client and full featured SGF editor'
arch=('x86_64' 'i686')
url="http://qgo.sourceforge.net/"
license=('GPL')
-depends=('qt3' 'libsm')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-r3.tar.gz"
- 'gcc43.patch'
- 'gcc45.patch')
-sha256sums=('ddfb66ada7027b844838895061f266bda03b327e8dfec2ee2782e14748bac104'
- 'f6ddd28325523e3d5aabac2284334c73114dd823e00bf282aae2646982206e78'
- '7f94acfe58d75b57d55bab5b296a801d48f54c8e12dfc1556cd1586abebd3580')
+depends=('qt5-multimedia' 'qt5-tools' 'libsm' 'desktop-file-utils'
+ 'shared-mime-info')
+makedepends=('git')
+install='qgo.install'
+options=('!emptydirs')
+source=("$pkgname::git://github.com/pzorin/$pkgname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ # fragments in the git url doesn't seem to work?
+ git checkout -q qt5
+
+ echo -n '2.0.0.'
+ git describe --always | sed 's|-|.|g'
+}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname"
- patch -Np1 -i "$srcdir/gcc43.patch"
- patch -Np1 -i "$srcdir/gcc45.patch"
- ./configure --prefix=/usr --with-qt-includes=/usr/include/qt3
- make
+ qmake && make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
+ make -C "$pkgname" INSTALL_ROOT="$pkgdir" install
}
# vim:set ts=2 sw=2 et: