M sr.ht/todo.sr.ht/APKBUILD => sr.ht/todo.sr.ht/APKBUILD +11 -4
@@ 13,9 13,10 @@ depends="
py3-srht
"
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
todo.sr.ht.initd
todo.sr.ht.confd
todo.sr.ht-lmtp.initd
@@ 47,10 48,16 @@ package() {
"$pkgdir"/etc/conf.d/todo.sr.ht-webhooks
}
+_nginx() {
+ install -Dm644 "$srcdir/sr.ht-nginx-master/todo.sr.ht.conf" \
+ "$subpkgdir"/etc/nginx/conf.d/todo.sr.ht.conf
+}
+
sha512sums="248527a193990130edcadef28c5d843acd0d2e40ec335f6f8623f795a9c8fa895c1fcb3937035145dc9f338f66b8bbabe7e01bc2e6891794ba70260a7240ff0d todo.sr.ht-0.58.11.tar.gz
+ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc sr.ht-nginx-0.58.11.tar.gz
9f0c7284e7dd21156efdbad8074651c643ed6eb8aaca70d44fdfc652726930f8f1036d7f5d55f64bfb09e220e9c4d8e17b0abb54793daae44716deea6d122145 todo.sr.ht.initd
-289ae27788ec7a1d3462c77250134f809d0e18ff46b5cc793abca53db68d7240e3e5c6c7d694b1950edfdc7fa8d299204b08b5a81373a044cea0649fd79ad94e todo.sr.ht.confd
+a4ab31da9633228e14a3baedaa0a257100d2758d5feaeb655a1647fd5a08b5a8a2c7af560d3d3af0956b66e6fbb8cba1fc7c46929eb78c45d81e881ef6d6c6c1 todo.sr.ht.confd
c4ac342b5fa506c1323d9c55f36b800e16cb9afdecc32f94bf7261c8fa2710db839b84137d24f3e43ac28e036cf21f63c381a650661e722e416c61a6cf44c938 todo.sr.ht-lmtp.initd
-da5ba92a1e3f49850dbaf6eb98e8eb30baf9c7ebd63e493f1b1b2e5f5c05599710daa998ee070b340f125ec9897fad55b47dad0ad3aca83d1a05d70537f607a2 todo.sr.ht-lmtp.confd
-2188b57950d9753b7192945a46c8269b5ff7015fbafd55e4539d7499bd2bd278062ec48fd86fe65d17db78131b013d649204cb23c341b14539fc7d5bebc9a40e todo.sr.ht-webhooks.confd
+8765703a5ac67da782e471f3f89d0c6fb58cf1dba7342377bccba6e39bd324c47d13948edd5a99af6376b39f60239b3689f6983b92353380f208fe1f12589907 todo.sr.ht-lmtp.confd
+befda599f189e99b542ebaf5dd17739169bf73a1499c9de92a98778bd108bb9813e1838e461ced494c6b495a16e34cf805abdb3ccabcf14c2ccecf2d42e780df todo.sr.ht-webhooks.confd
a2e9686eacd4f37262067749b8844c005839cf190751ab9d49f631e1aa61f64541715e19a942ab20f0541db2b7594499c5c12b522c7b4b90176543f05d576eb7 todo.sr.ht-webhooks.initd"