summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2014-03-11 16:22:17 +0200
committerCaleb Maclennan2014-03-11 16:22:17 +0200
commit81ba29919629d54e697047e77e03305bdb808406 (patch)
tree06a8d75977c55d39fda08583d744d114da9231f5
downloadaur-81ba29919629d54e697047e77e03305bdb808406.tar.gz
add devel version that builds from git
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4634baded76
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = freecheck-git
+ pkgdesc = A blank check printer that adds MICR codes and check templates to blank stock.
+ pkgver = 0.30_4_g3f4fe6f
+ pkgrel = 2
+ url = https://github.com/alerque/freecheck
+ arch = any
+ license = GPL2
+ depends = perl
+ depends = gnumicr
+ optdepends = cups: printing support
+ optdepends = ghostscript: output to pdf files
+ source = git://github.com/alerque/freecheck.git#branch=devel
+ md5sums = SKIP
+
+pkgname = freecheck-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..16270fbe0f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+_pkgname=freecheck
+pkgname=freecheck-git
+pkgver=0.30_4_g3f4fe6f
+pkgrel=2
+_branch=devel
+url=https://github.com/alerque/$_pkgname
+pkgdesc='A blank check printer that adds MICR codes and check templates to blank stock.'
+arch=('any')
+license=('GPL2')
+depends=('perl' 'gnumicr')
+optdepends=(
+ 'cups: printing support'
+ 'ghostscript: output to pdf files'
+ )
+source=("git://github.com/alerque/$_pkgname.git#branch=$_branch")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --long | sed 's/^v//;s/-/_/g'
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make prefix=$pkgdir/ install
+}
+