# Maintainer: Gavin Lloyd pkgname=hashbrowns-git pkgver=0.20.181cfea pkgrel=1 pkgdesc='Provides cryptographic hashes with a minimal UI' url='https://github.com/gavinhungry/hashbrowns' license=('MIT') arch=('any') makedepends=('git') source=("${pkgname}::git+${url}.git") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" echo 0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { cd "${srcdir}/${pkgname}" mkdir -p "$pkgdir"/usr/bin install -m 755 hashbrowns.py "$pkgdir"/usr/bin/hashbrowns }