~dricottone/huttese-apk

ref: 885467ce57baf8c910b0d3418653386e8c6cffe8 huttese-apk/sr.ht/sr.ht-nginx/APKBUILD -rw-r--r-- 727 bytes
885467ce — Drew DeVault Add sr.ht-nginx package 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"