summaryrefslogtreecommitdiff
path: root/community/qgo/PKGBUILD
blob: f589249856895e9a67fd7cc0c7de4884d88dd435 (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
37
38
39
40
41
# $Id: PKGBUILD 98278 2013-10-07 22:46:15Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: Magnus Jonsson <jmagnusj@gmail.com>

pkgname=qgo
pkgver=2.0.0.dda95c9
pkgrel=1
pkgdesc='Go client and full featured SGF editor'
arch=('x86_64' 'i686')
url="http://qgo.sourceforge.net/"
license=('GPL')
depends=('qt5-multimedia' 'qt5-tools' 'libsm' 'desktop-file-utils'
         'shared-mime-info')
makedepends=('git')
install='qgo.install'
options=('!emptydirs')
source=("$pkgname::git://github.com/pzorin/$pkgname.git")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"

  # fragments in the git url doesn't seem to work?
  git checkout -q qt5

  echo -n '2.0.0.'
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "$pkgname"

  qmake && make
}

package() {
  make -C "$pkgname" INSTALL_ROOT="$pkgdir" install
}

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