# Maintainer: Mateusz Gozdek # Contributor: Eirik Albrigtsen pkgname=blackbox-vcs pkgver=1.20200429 pkgrel=1 pkgdesc="Safely store secrets in Git/Mercurial/Subversion" arch=('any') url="https://github.com/StackExchange/blackbox" license=('MIT') depends=('gnupg' 'bash') source=("https://github.com/StackExchange/blackbox/archive/v${pkgver}.tar.gz") sha256sums=('7a355bb4f44d43989a21f74b927fc2a5063a54c17539d5e5fa74e93e64c261ac') package() { cd "${srcdir}/blackbox-${pkgver}" # Copy bin files to /usr/bin install -d "${pkgdir}/usr/bin" for f in `find bin -type f -iname "*" ! -iname "Makefile"`; do cp -a "$f" "${pkgdir}/usr/bin/" done # License install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }