summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
blob: d015bc0859e2c4d253b57d42e1282f61bc51af72 (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
36
# $Id: PKGBUILD 64872 2012-02-18 19:23:28Z arodseth $
# 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' 'mips64el')
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"

  . /etc/profile.d/qt3.sh
  patch -Np1 -i "$srcdir/gcc43.patch"
  patch -Np1 -i "$srcdir/gcc45.patch"
  ./configure --prefix=/usr --build=$CHOST
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: