summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9705022aea782d3490d955f7c79f29cc36c0a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Caleb Maclennan <caleb@alerque.com>
#
# Any suggestions welcome; please submit paches via Github:
# https://github.com/alerque/aur/tree/master/freecheck-git

pkgname=freecheck-git
pkgver=0.30_6_g5f80e5a
pkgrel=1
_branch=devel
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')
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}.git#branch=$_branch")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  git describe --long | sed 's/^v//;s/-/_/g'
}

package() {
    cd "$srcdir/${pkgname%-git}"
    make prefix="$pkgdir"/ install
}