~dricottone/huttese-apk

ref: 0161e95028bce8c2e674b87148a05e649a5bb0df huttese-apk/sr.ht/sr.ht-nginx/APKBUILD -rw-r--r-- 727 bytes
0161e950 — Drew DeVault hub.sr.ht-nginx: add sr.ht-nginx dependency 4 years ago
                                                                                
885467ce 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sr.ht-nginx
pkgver=0_git20200914
_commit=440997c11a4571eefbb1f5d8226d6f4fce09e5d9
pkgrel=0
pkgdesc="sr.ht common nginx files"
url="https://git.sr.ht/~sircmpwn/sr.ht-nginx"
arch="noarch"
license="AGPLv3"
depends="nginx"
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"/var/www
	install -Dm644 robots.txt "$pkgdir"/var/www/robots.txt
}

sha512sums="9f3ecb9ed494db78a56a63f2b8fd329cc93bfc698e5a357461a3afb26f84d8418495678c57c7a2e7c4ccdf3da5b277585edbb97f2bb44937273bef39030d86b4  440997c11a4571eefbb1f5d8226d6f4fce09e5d9.tar.gz"