~dricottone/huttese-apk

ref: b3c3359d7505d37a43fd2f53c699bf4ed22c9a10 huttese-apk/sr.ht/tlstunnel/APKBUILD -rw-r--r-- 1.2 KiB
b3c3359d — Drew DeVault py3-gitlab: upgrade to 2.10.1 3 years ago
                                                                                
7639d0d4 Drew DeVault
a71240f8 Drew DeVault
7639d0d4 Drew DeVault
a71240f8 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.1
pkgrel=1
pkgdesc="A TLS reverse proxy"
url="https://git.sr.ht/~emersion/tlstunnel"
arch="all"
license="MIT"
install="$pkgname.post-install"
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="
2b3b1dc5677bb4a5a1f093c9f07cb2051daddadbddd757be4239e3b2f06a0f907557c61e668459da3544bac643c458e72e62b44247350bedb208ba072d0c2417  tlstunnel-0.1.1.tar.gz
a13dd2d351b3290f7b80fbd9197b39e41959219321f4f105f9deaad0ab5c1f0f4a893f336d1dc645e613e319be5fe79663058038aa7a35136a4882ef3c68bc97  tlstunnel.confd
3cd75935df15a9d65081747d6be2bed5593957631a831dea19d8854c74773703624a045a52c7bd65d7e77907abd1355f4f131c782ecdc42e03d9b6f6ac41abd5  tlstunnel.initd
"