# $Id: PKGBUILD 98278 2013-10-07 22:46:15Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Douglas Soares de Andrade # Contributor: Magnus Jonsson pkgname=qgo pkgver=2.0.0.dda95c9 pkgrel=1 pkgdesc='Go client and full featured SGF editor' arch=('x86_64' 'i686' 'mips64el') 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: