aboutsummaryrefslogtreecommitdiffstats
path: root/testing/git-secret/APKBUILD
blob: e9c606acfe8dc8fcbfa9f400df18a33107fcbc2d (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
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
#
# Note: git-secret is very badly designed, I'll replace this abuild once
#   I find or write something better.
pkgname=git-secret
pkgver=0.2.2
pkgrel=1
pkgdesc="A bash-tool to store your private data inside a git repository"
url="http://git-secret.io/"
arch="noarch"
license="MIT"
depends="bash gnupg"
checkdepends="bats"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/sobolevn/$pkgname/archive/v$pkgver.tar.gz
	fix-passphrase-input-for-gpg2.2.patch
	dont-hide-gpg-output.patch
	makefile.patch"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"  # does not work in a container w/o tty

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir/usr" install
}

sha512sums="453b9012fd90e962ec47af598b43f1036b7e741d9f46053ff16a469c08c1da33f99c8e792119664c82dd63d24b8cf72736e445a454c7b7f59c0387e886ee5fde  git-secret-0.2.2.tar.gz
c1e619a7770f9a075e51fcdb2bac8651b0e29d0eae25bbeaa60458e1462b01f2d080aabecca20c909d2ec6e77656c0ce75d8781f5ac90352a416c8a76b287256  fix-passphrase-input-for-gpg2.2.patch
43a446c7fa3bf723fb00ddddb187b58fffa8bfa9914de8398501f93f9ef42836abaa606944a67670e3033e5ff28d3e1d4cdcf40d05d6a1069aa20916a398ee76  dont-hide-gpg-output.patch
5e91d0830e95a8be0eb1f87b482a1d9216ff86be354d52c5f0f5cf5b7c4bba6833f09097ea83349178314d63c373683f1782315b862eb4fc728dc17c91ba9bad  makefile.patch"