diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -1,29 +1,32 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> -_pkgname=freecheck +# +# Any suggestions welcome; please submit paches via Github: +# https://github.com/alerque/aur/tree/master/freecheck-git + pkgname=freecheck-git -pkgver=0.30_5_gb5d7d15 +pkgver=0.30_6_g5f80e5a pkgrel=1 _branch=devel -url=https://github.com/alerque/$_pkgname +url=https://github.com/alerque/${pkgname%-git} pkgdesc='A blank check printer that adds MICR codes and check templates to blank stock.' arch=('any') license=('GPL2') -conflicts=("$_pkgname") +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") depends=('perl' 'gnumicr') optdepends=( 'cups: printing support' 'ghostscript: output to pdf files' ) -source=("git://github.com/alerque/$_pkgname.git#branch=$_branch") +source=("git://github.com/alerque/${pkgname%-git}.git#branch=$_branch") md5sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" + cd "$srcdir/${pkgname%-git}" git describe --long | sed 's/^v//;s/-/_/g' } package() { - cd "$srcdir/$_pkgname" + cd "$srcdir/${pkgname%-git}" make prefix=$pkgdir/ install } - |