# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: Magnus Jonsson <jmagnusj@gmail.com>

pkgname=qgo
pkgver=2.1.0
pkgrel=7
pkgdesc='Go client and full featured SGF editor'
arch=('x86_64')
url='https://github.com/pzorin/qgo'
license=('GPL')
depends=('qt5-multimedia' 'libsm')
makedepends=('git' 'qt5-tools')
options=('!emptydirs')
source=("$pkgname::git+https://github.com/pzorin/$pkgname.git#commit=b829eeea23e60c69a38e6f0ed07cbff6cc5c04bb")
md5sums=('SKIP')

build() {
  cd "$pkgname"

  qmake
  make CXXFLAGS="$CXXFLAGS -w -fPIC"
}

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

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