aboutsummaryrefslogtreecommitdiffstats
path: root/testing/git-secret/APKBUILD
blob: 0dda5e545c90d715fad1afb2b62dacecea9b2e75 (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
# 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.5
pkgrel=0
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
	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="be4ff93db3ae1f4de2314d2b9fb9f0e671e2f01cb0927a2e5e939bc7082b825fe536a464b5f165caafe56fe30715a974182099c6827785194a2a42a837e31c8f  git-secret-0.2.5.tar.gz
102106c349797fe20eb32447b43d6ae70e44ba82a79fbc706c29a11cb76376394081fe10751b202346e703dd5eeae2494ea958071c7eee96a05927e544015b58  dont-hide-gpg-output.patch
445cb34ccaaf5ed89a4db1e93e34f2fa63f3cdf63fbfc7d0fa592cfc030d4fcfd697c377e20695dc7566143aa7559ffa463169d606255eafa9e296e623fe8ff1  makefile.patch"