~xenrox/personal-packages

1273c42852dc9e3db3921469aa3c296a2659d3c5 — Thorben Günther 1 year, 10 months ago fead442
paste.sr.ht: Drop webhooks service

Paste webhooks were removed in
https://git.sr.ht/~sircmpwn/paste.sr.ht/commit/48e2e8e288ffb4ccae134aa7a7c0171a1c8c1cf1
2 files changed, 0 insertions(+), 17 deletions(-)

M paste.sr.ht/PKGBUILD
D paste.sr.ht/paste.sr.ht-webhooks.service
M paste.sr.ht/PKGBUILD => paste.sr.ht/PKGBUILD +0 -4
@@ 15,13 15,11 @@ makedepends=("python-setuptools" "nodejs" "sassc" "go")
source=(
	"$pkgname-$pkgver.tar.gz::http://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz"
	"paste.sr.ht.service"
	"paste.sr.ht-webhooks.service"
	"paste.sr.ht-api.service"
	"sysusers.conf"
)
sha256sums=('8f44577cedaea0135235372027e604f1639f71c5217828ac4132a5f8aa4cf9cf'
            '6f99b3bedea1cad4f28658950ecf802c05e38433432f2d1e73ee88864a36d8ec'
            'a4638073cc6486f4a693aa7cb18c21fa66e70ad0387eb423166d644cdfb32d26'
            '5901e68427fc15a94122dad22f2db363ea571562d757ce48e901458fe6d2a505'
            'a08895ba853dbca7fc5af3da2f6bfd4284c15f787a5968793a4a53f31f9de817')
export PKGVER=$pkgver


@@ 36,8 34,6 @@ build() {
package() {
	cd $pkgbase-$pkgver
	install -Dm0644 ../paste.sr.ht.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../paste.sr.ht-webhooks.service \
		-t "$pkgdir"/usr/lib/systemd/system/
	install -Dm644 ../paste.sr.ht-api.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../sysusers.conf "$pkgdir/usr/lib/sysusers.d/paste.sr.ht.conf"
	install -Dm755 api/pastesrht-api "$pkgdir"/usr/bin/pastesrht-api

D paste.sr.ht/paste.sr.ht-webhooks.service => paste.sr.ht/paste.sr.ht-webhooks.service +0 -13
@@ 1,13 0,0 @@
[Unit]
Description=paste.sr.ht webhooks service
Requires=postgresql.service
After=postgresql.service network.target

[Service]
Type=simple
User=pastesrht
Restart=always
ExecStart=/usr/bin/celery -A pastesrht.webhooks worker --loglevel=INFO

[Install]
WantedBy=multi-user.target