# Maintainer: Helder Bertoldo # Contributor: Jonathan Moerman _gitname=Go-For-It _author=JMoerman _pkgname=go-for-it pkgname="${_pkgname}-git" pkgver=r905.aecaf96 pkgrel=1 pkgdesc='A stylish to-do list with built-in productivity timer.' arch=('i686' 'x86_64') url="https://github.com/${_author}/${_gitname}" license=('GPL3') depends=('gtk3' 'libnotify' 'intltool' 'pkg-config') optdepends=() makedepends=('vala' 'git' 'cmake') provides=("${_pkgname}" "${_pkgname}") conflicts=("${_pkgname}") install="${pkgname%-*}.install" source=("git+${url}.git") sha256sums=('SKIP') pkgver() { cd $_gitname echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { cd $_gitname if [[ -d build ]]; then rm -rf build fi mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $_gitname/build make DESTDIR="${pkgdir}" install } # vim: ts=2 sw=2 et: