summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2014-04-01 13:41:23 +0300
committerCaleb Maclennan2014-04-01 14:07:29 +0300
commit3a91077410348f6309842227df09fd6eddf27db2 (patch)
tree261ba59d526099c5a9035191fa74c836cf84b052
parent1c79f18a1a0a5ce54ad3388b1be82b22a5c02d28 (diff)
downloadaur-3a91077410348f6309842227df09fd6eddf27db2.tar.gz
minor cleanups to how devel packages are handled
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD19
2 files changed, 13 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4e6216a00b5..dd1c00c220f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 66a4d74db8c..d88e1def554 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}
-