~dricottone/huttese-apk

ref: e207e0c682e15bfddafe5c169f1a29fa1717341c huttese-apk/sr.ht/sr.ht-nginx/APKBUILD -rw-r--r-- 1.2 KiB
e207e0c6 — Drew DeVault py3-stripe: upgrade to 2.71.0 2 years ago
                                                                                
885467ce Drew DeVault
df06e403 Drew DeVault
aa6f3c7e Drew DeVault
5b7ce881 Drew DeVault
885467ce Drew DeVault
2451cd31 Drew DeVault
885467ce Drew DeVault
2451cd31 Drew DeVault
aa6f3c7e Drew DeVault
2451cd31 Drew DeVault
885467ce Drew DeVault
0aee864e Drew DeVault
aa6f3c7e Drew DeVault
0aee864e 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sr.ht-nginx
pkgver=0_git20220214
_commit=5300cf2efaf1f59cb82710ba3f81b1fdb332614c
pkgrel=0
pkgdesc="sr.ht common nginx files"
url="https://git.sr.ht/~sircmpwn/sr.ht-nginx"
arch="noarch"
license="AGPLv3"
depends="nginx"
replaces="nginx" # To overwrite nginx.conf
source="
	https://git.sr.ht/~sircmpwn/sr.ht-nginx/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"
options="$options !check"

build() {
	true # no-op
}

package() {
	mkdir -p "$pkgdir"/etc/nginx
	install -Dm644 graphql.conf "$pkgdir"/etc/nginx/graphql.conf
	install -Dm644 headers.conf "$pkgdir"/etc/nginx/headers.conf
	install -Dm644 nginx.conf "$pkgdir"/etc/nginx/nginx.conf
	install -Dm644 port443.conf "$pkgdir"/etc/nginx/port443.conf
	install -Dm644 port80.conf "$pkgdir"/etc/nginx/port80.conf
	install -Dm644 sourcehut.conf "$pkgdir"/etc/nginx/sourcehut.conf
	install -Dm644 web.conf "$pkgdir"/etc/nginx/web.conf

	mkdir -p "$pkgdir"/var/www
	install -Dm644 robots.txt "$pkgdir"/var/www/robots.txt
}

sha512sums="
081921925b2cffb00a36dff202645d35490cf1c8a1f663d6e6c7337854cc003601706bb82c12085290bef13782fdb798b58adff4f18d27ac8a4a834f6e01b825  5300cf2efaf1f59cb82710ba3f81b1fdb332614c.tar.gz
"