@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=man.sr.ht
-pkgver=0.14.13
+pkgver=0.15.0
pkgrel=0
pkgdesc="sr.ht wiki service"
url="https://git.sr.ht/~sircmpwn/man.sr.ht"
@@ 15,9 15,10 @@ depends="
redis
"
makedepends="py-setuptools nodejs sassc"
-subpackages="${pkgname}-openrc"
+subpackages="$pkgname-openrc $pkgname-nginx:_nginx"
source="
$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
+ sr.ht-nginx-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/sr.ht-nginx/archive/master.tar.gz
man.sr.ht.initd
man.sr.ht.confd
"
@@ 37,6 38,12 @@ package() {
"$pkgdir"/etc/conf.d/man.sr.ht
}
-sha512sums="6f077676ddac9019ae72fa487c95415618fd080cade8503448454feb5b7f6e722baf67acfbeb90f80d6945d70e96e1ebdce5551a3bad4929b08d5904f7cfc975 man.sr.ht-0.14.13.tar.gz
+_nginx() {
+ install -Dm644 "$srcdir/sr.ht-nginx-master/man.sr.ht.conf" \
+ "$subpkgdir"/etc/nginx/conf.d/man.sr.ht.conf
+}
+
+sha512sums="befd10ddce4b6b421ff59e40d8d010f54923131e812cc713a6b9c0a80f439e7ea03455cbfd4645d9f1f79c00d00becd391ede911be61af1f78884962cb9df016 man.sr.ht-0.15.0.tar.gz
+ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc sr.ht-nginx-0.15.0.tar.gz
ca32992f0778f6edf227de4520dd13fe0c3c4e4dd5be1043a5e5fb66f49392813a5bd0502e33b7c3f352cdcb12edc84e20faa2e376d33fe937a6b756e6e90033 man.sr.ht.initd
e8e3b1f8e3e6a132692774d141e79b9334714130371523bf43edadba0a580ce6003e7a7f5b23fb769d78c5951f6ac1f4097232c2764ed5988366ad80d1a85df7 man.sr.ht.confd"