diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 13 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = freecheck-git pkgdesc = A blank check printer that adds MICR codes and check templates to blank stock. - pkgver = 0.30_5_gb5d7d15 + pkgver = 0.30_6_g5f80e5a pkgrel = 1 url = https://github.com/alerque/freecheck arch = any @@ -9,6 +9,7 @@ pkgbase = freecheck-git depends = gnumicr optdepends = cups: printing support optdepends = ghostscript: output to pdf files + provides = freecheck conflicts = freecheck source = git://github.com/alerque/freecheck.git#branch=devel md5sums = SKIP @@ -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 } - |