@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=hg.sr.ht
-pkgver=0.26.10
+pkgver=0.26.16
pkgrel=0
pkgdesc="sr.ht mercurial service"
url="https://hg.sr.ht/~sircmpwn/hg.sr.ht"
@@ 14,9 14,10 @@ depends="
hg-evolve
"
makedepends="py-setuptools nodejs sassc go"
-subpackages="${pkgname}-openrc"
+subpackages="$pkgname-openrc $pkgname-nginx:_nginx"
source="
$pkgname-$pkgver.tar.gz::https://hg.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
hg.sr.ht.initd
hg.sr.ht.confd
hg.sr.ht-webhooks.initd
@@ 50,7 51,13 @@ package() {
install -Dm644 nonpublishing.cfg "$pkgdir"/etc/sr.ht/hgrcs/nonpublishing.cfg
}
-sha512sums="3a7dcccead80ff9cd7586f0a2051e7105bde9e3a8e8b1750d476ac73f62ce60a45a2f634d65681ed4fc0875dc144545690bd2add5fbe2de80f04955420426b21 hg.sr.ht-0.26.10.tar.gz
+_nginx() {
+ install -Dm644 "$srcdir/sr.ht-nginx-master/hg.sr.ht.conf" \
+ "$subpkgdir"/etc/nginx/conf.d/hg.sr.ht.conf
+}
+
+sha512sums="19c646175dde101e44007fc2526a3e741d6d71c52ca30f870f05255847919d5cf4ec8663d91721a7f47e1478a75968499c6f563669b3f7985b8bb809f223c319 hg.sr.ht-0.26.16.tar.gz
+ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc sr.ht-nginx-0.26.16.tar.gz
38923f14ca3cedf4004447ef5ab75d5699a858efdc22866f1da10a82c3a938227c03380b84fae719b84b4751f03fec55be922d950a155e09c7e8e41ff71b3c6b hg.sr.ht.initd
2c3f1776f8bb6bb42f0d240b28561d0bfb1b4638cad169cd5162f9c227028d0d256fd510f8a47c9c0ec111d11e9f54c293fef6c3e3d99d925dcd170294f44472 hg.sr.ht.confd
93f25762da77462c8167ae53ba37ab4f9982c7f3c2d03dde445f0578758b808987c4781912a0fa5b4a4e25ba50c9d27477dfea8e319908ddc124dc836aefd2d6 hg.sr.ht-webhooks.initd