~dricottone/huttese-apk

ref: 60e88d2b46f96963aa60c0b6297468cc563e3c79 huttese-apk/sr.ht/tlstunnel/APKBUILD -rw-r--r-- 1.2 KiB
60e88d2b — Drew DeVault py3-kombu: upgrade to 5.2.4 2 years ago
                                                                                
7639d0d4 Drew DeVault
cbf7811f Drew DeVault
0ad174be Drew DeVault
7639d0d4 Drew DeVault
0ad174be Drew DeVault
a71240f8 Drew DeVault
7639d0d4 Drew DeVault
cbf7811f Drew DeVault
7639d0d4 Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=tlstunnel
pkgver=0.1.3
pkgrel=1
pkgdesc="A TLS reverse proxy"
url="https://git.sr.ht/~emersion/tlstunnel"
arch="all"
license="MIT"
install="$pkgname.post-install $pkgname.post-upgrade"
depends="libcap"
makedepends="go scdoc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/tlstunnel/refs/download/v$pkgver/tlstunnel-$pkgver.tar.gz
	tlstunnel.confd
	tlstunnel.initd
"
subpackages="$pkgname-openrc $pkgname-doc"

build() {
	make PREFIX="/usr"
}

check() {
	go test ./...
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr"

	install -Dm755 "$srcdir"/tlstunnel.initd \
		"$pkgdir"/etc/init.d/tlstunnel
	install -Dm644 "$srcdir"/tlstunnel.confd \
		"$pkgdir"/etc/conf.d/tlstunnel
}

sha512sums="
551d7ddf09bae5b244fd75c869089d2fa8c63e3c36aa3488adb7bf54bddf2e1af312e53f58aacbb32ac9d0c0cefbc24a8cbb1585da363828043c1980e311bd11  tlstunnel-0.1.3.tar.gz
a13dd2d351b3290f7b80fbd9197b39e41959219321f4f105f9deaad0ab5c1f0f4a893f336d1dc645e613e319be5fe79663058038aa7a35136a4882ef3c68bc97  tlstunnel.confd
3cd75935df15a9d65081747d6be2bed5593957631a831dea19d8854c74773703624a045a52c7bd65d7e77907abd1355f4f131c782ecdc42e03d9b6f6ac41abd5  tlstunnel.initd
"