summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b107e3bee143ded6aaacee65ccc458562c5072c (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=freecheck-git
pkgver=0.30_8_g9806307
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')
makedepends=(git)
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
}