A sr.ht/sr.ht-nginx/APKBUILD => sr.ht/sr.ht-nginx/APKBUILD +26 -0
@@ 0,0 1,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"