diff options
author | Caleb Maclennan | 2014-04-01 13:41:23 +0300 |
---|---|---|
committer | Caleb Maclennan | 2014-04-01 14:07:29 +0300 |
commit | 3a91077410348f6309842227df09fd6eddf27db2 (patch) | |
tree | 261ba59d526099c5a9035191fa74c836cf84b052 | |
parent | 1c79f18a1a0a5ce54ad3388b1be82b22a5c02d28 (diff) | |
download | aur-3a91077410348f6309842227df09fd6eddf27db2.tar.gz |
minor cleanups to how devel packages are handled
-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 } - |