[arch-commits] Commit in qgo/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon Oct 7 21:27:24 UTC 2013


    Date: Monday, October 7, 2013 @ 23:27:23
  Author: arodseth
Revision: 98264

Trying to make the QT5 version compile

Modified:
  qgo/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-07 20:47:25 UTC (rev 98263)
+++ PKGBUILD	2013-10-07 21:27:23 UTC (rev 98264)
@@ -4,7 +4,7 @@
 # Contributor: Magnus Jonsson <jmagnusj at gmail.com>
 
 pkgname=qgo
-pkgver=2.0.0
+pkgver=dda95c9
 pkgrel=1
 pkgdesc='Go client and full featured SGF editor'
 arch=('x86_64' 'i686')
@@ -11,11 +11,11 @@
 url="http://qgo.sourceforge.net/"
 license=('GPL')
 depends=('qt5-base' 'qt5-multimedia' 'libsm')
-makedepends=('git')
+makedepends=('git' 'setconf')
 source=("$pkgname::git://github.com/pzorin/$pkgname.git")
 md5sums=('SKIP')
 
-prepare() {
+pkgver() {
   cd "$pkgname"
 
   # fragments in the git url doesn't seem to work?
@@ -24,16 +24,21 @@
   git describe --always | sed 's|-|.|g'
 }
 
+prepare() {
+  cd "$pkgname/src"
+
+  setconf src.pro languages.extra /bin/lrelease src.pro
+}
+
 build() {
   cd "$pkgname"
 
-  export QTDIR=/usr
+  export QTDIR=/bin
   qmake && make
 }
 
 package() {
-  export QTDIR=/usr
-
+  export QTDIR=/bin
   make -C "$pkgname" INSTALL_ROOT="$pkgdir" install
 }
 




More information about the arch-commits mailing list