summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
blob: f650f97e73b6c37d123aa5010fa615995079042a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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: