summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
blob: 595c07c70caf654c2b17c8dd977fedb992aef088 (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
# $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-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/$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}"/gcc43.patch
  patch -Np1 -i "${srcdir}"/gcc45.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}