blob: 350e070d80ec58c0c9e41e4fad009dcada180918 (
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
|
# Maintainer: Mateusz Gozdek <mgozdekof@gmail.com>
# Contributor: Eirik Albrigtsen <analsandblaster at gmail dot com>
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"
}
|