summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qgo/PKGBUILD')
-rw-r--r--community/qgo/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/community/qgo/PKGBUILD b/community/qgo/PKGBUILD
index d9589aef6..595c07c70 100644
--- a/community/qgo/PKGBUILD
+++ b/community/qgo/PKGBUILD
@@ -1,25 +1,34 @@
-# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# $Id: PKGBUILD 56296 2011-10-05 06:31:10Z andrea $
+# Maintainer:
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
pkgname=qgo
pkgver=1.5.4
-_realver=1.5.4-r2
-pkgrel=3
-pkgdesc="qGo is a Go client and full featured SGF editor."
+_realver=1.5.4-r3
+pkgrel=4
+pkgdesc="A Go client and full featured SGF editor"
arch=('i686' 'x86_64')
url="http://qgo.sourceforge.net/"
license=('GPL')
depends=('qt3' 'libsm')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${_realver}.tar.gz
- qgo-gcc43-iostream.patch)
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${_realver}.tar.gz"
+ 'gcc43.patch'
+ 'gcc45.patch')
+md5sums=('f8f9a6288b7854932bb2666a58631988'
+ '1e242ff9c3b46bcebfda0d7ae3aef2fa'
+ '58de47198a50dedb029acbe28bd3bb1b')
build() {
. /etc/profile.d/qt3.sh
cd $srcdir/$pkgname-$pkgver
- patch -Np1 -i $srcdir/qgo-gcc43-iostream.patch || return 1
+ patch -Np1 -i "${srcdir}"/gcc43.patch
+ patch -Np1 -i "${srcdir}"/gcc45.patch
./configure --prefix=/usr
- make || return 1
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
-md5sums=('5b83bd5ec234beabe48ca17eace3957e'
- '148c470f6426e6d626b3105807b0c006')