~dricottone/huttese-apk

885467ce57baf8c910b0d3418653386e8c6cffe8 — Drew DeVault 4 years ago 091e854
Add sr.ht-nginx package
1 files changed, 26 insertions(+), 0 deletions(-)

A sr.ht/sr.ht-nginx/APKBUILD
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"