# Contributor: Frederic Bezies # Contributor: Lex Black # Contributor: Diego Principe # Contributor: Stefano Bergamini # Maintainer: Stefan Husmann _pkgname=focuswriter pkgname=focuswriter-git epoch=1 pkgver=1.7.0.r12.g972da0d pkgrel=1 pkgdesc="A simple fullscreen word processor" arch=('i686' 'x86_64') url="http://gottcode.org/${_pkgname}/" license=('GPL3') depends=('qt5-base' 'qt5-multimedia' 'hunspell' 'hicolor-icon-theme') makedepends=('qt5-tools') optdepends=('sdl_mixer: typewriter sound effects') makedepends=('git') provides=('focuswriter') conflicts=('focuswriter') source=("git+https://github.com/gottcode/focuswriter.git") sha1sums=('SKIP') pkgver() { cd ${_pkgname} git describe | sed 's+-+.r+'|tr - .|cut -c2- } build() { cd ${_pkgname} qmake-qt5 PREFIX=/usr make } package() { cd ${_pkgname} make INSTALL_ROOT="$pkgdir/" install }