# Maintainer: Greg Minshall pkgname=credeface pkgver=1.3.2 pkgrel=1 pkgdesc="use git’s credential-cache to hold general passwords" arch=(any) url="https://sr.ht/~minshall/credeface/" license=('MIT') # pass is technically "optdepends"; but, the functionality without it # is minimal depends=(git pass python3) makedepends=(asciidoc gawk git) # git rev-parse in upstream repo: # git rev-parse 1.3.2 _tag=1da9373aa59b385ea56935b0045cfe0518c3ccb7 source=(git+https://git.sr.ht/~minshall/credeface#tag=${_tag}?signed) validpgpkeys=( BB68C8D3A3D23B9B398FB50AC397C74C54A9EC4F # Greg Minshall ) sha256sums=('SKIP') pkgver() { cd "${pkgname}" git describe } build() { cd "${pkgname}" make } check() { cd "${pkgname}" make check } package() { cd "${pkgname}" make DESTDIR="${pkgdir}" PREFIX=/usr install # install our MIT license install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" }