# Maintainer: Peter K. Moss pkgname=qmarkdown-git pkgver=r61.b9423a2 pkgrel=1 pkgdesc="qMarkdown - minimal markdown viewer" arch=("x86_64") url="https://github.com/Peterkmoss/qmarkdown" license=('GPL') depends=('qt5-base' 'qt5-webengine' 'qt5-webchannel') optdepends=('ttf-roboto') makedepends=('gcc>=9' 'qt5-base' 'qt5-webengine' 'qt5-webchannel' 'git') provides=('qmarkdown') conflicts=('qmarkdown') source=('git+https://github.com/Peterkmoss/qmarkdown') md5sums=('SKIP') pkgver() { cd "${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "${pkgname%-git}" make } package() { cd "${pkgname%-git}" make PREFIX=/usr DESTDIR="$pkgdir" install }