summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qgo/PKGBUILD')
-rw-r--r--community/qgo/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/qgo/PKGBUILD b/community/qgo/PKGBUILD
new file mode 100644
index 000000000..f650f97e7
--- /dev/null
+++ b/community/qgo/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 88006 2013-04-09 21:47:09Z eric $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+
+pkgname=qgo
+pkgver=1.5.4
+pkgrel=5
+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')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/gcc43.patch"
+ patch -Np1 -i "$srcdir/gcc45.patch"
+ ./configure --prefix=/usr --with-qt-includes=/usr/include/qt3
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: