# $Id: PKGBUILD 134944 2015-06-07 12:01:00Z 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.1.0
pkgrel=1
pkgdesc='Go client and full featured SGF editor'
arch=('x86_64' 'i686')
url='https://github.com/pzorin/qgo'
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#commit=a4bc9c986e")
md5sums=('SKIP')

build() {
  cd "$pkgname"

  qmake && make
}

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

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