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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sr.ht-nginx
pkgver=0_git20210805
_commit=30afc8ce5b99a2d3fb39d4efa3c8dc17674bc5f9
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="
aff4fdf5670e4421e8386c708764c0f66a0e411b08d49acd11920520f01926b5d4edb7733ed5ab8c9e4e3c02957a0afb830f5221bf96dcd0b7eb0feea51d62b7 30afc8ce5b99a2d3fb39d4efa3c8dc17674bc5f9.tar.gz
"