@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=paste.sr.ht
-pkgver=0.10.6
+pkgver=0.11.0
pkgrel=0
pkgdesc="sr.ht paste service"
url="https://git.sr.ht/~sircmpwn/paste.sr.ht"
@@ 12,9 12,10 @@ depends="
py3-yaml
"
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
paste.sr.ht.initd
paste.sr.ht.confd
"
@@ 34,6 35,12 @@ package() {
"$pkgdir"/etc/conf.d/paste.sr.ht
}
-sha512sums="555acfefc8c83ec4210302f7282127e09548e3699d1c81e7450851dc3f180c356c1dcc97257d94e1375585e3dc34d1a24a7c42993fa894f6d65c01fcc90ae75a paste.sr.ht-0.10.6.tar.gz
+_nginx() {
+ install -Dm644 "$srcdir/sr.ht-nginx-master/paste.sr.ht.conf" \
+ "$subpkgdir"/etc/nginx/conf.d/paste.sr.ht.conf
+}
+
+sha512sums="4a401f4ca9a4e43e2dae4925207295e2dd5031a7e2c4773998ea5fd31052f3c53d28fde30610f67d1da6c1906067fae72542b458bf48b57d647da3fb8e39e255 paste.sr.ht-0.11.0.tar.gz
+ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc sr.ht-nginx-0.11.0.tar.gz
ecbbfe19bbb60bb7724210bb38601dcf64cbd24056fb59d22ac4539082b6e30ac4d80b59d1e3ba58ac232df291304746b6deb49836c0a329233c3531baa33bda paste.sr.ht.initd
8b4f89e5d8fd96b6e898f81c7d5f516715285a4cb871a6bb31bcea059eb40aff5019039a973815aacd22eb9957bb02b2835a8e9c9aac3ab83649145c6636a388 paste.sr.ht.confd"