Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / webhook


Commits:
294f7302 by Felix Yan at 2026-03-03T22:00:04+08:00
upgpkg: 2.8.3-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,16 @@
 pkgbase = webhook
        pkgdesc = A lightweight incoming webhook server to run shell commands
-       pkgver = 2.8.2
-       pkgrel = 2
+       pkgver = 2.8.3
+       pkgrel = 1
        url = https://github.com/adnanh/webhook
        arch = x86_64
        license = MIT
        makedepends = go
        makedepends = git
        depends = glibc
-       source = 
webhook-2.8.2.tar.gz::https://github.com/adnanh/webhook/archive/2.8.2.tar.gz
+       source = git+https://github.com/adnanh/webhook.git#tag=2.8.3
        source = webhook.service
-       sha512sums = 
2006afc324a265e807bc8be6d2aa108e06082360891682c188be932bdbf6ece3d8d67bb653f9a5466e71bbb256c66f7411920c8c96aee6bb64daba888eba7c1d
+       sha512sums = 
4978ec2620428f94fd6e70f0c5854d5f18a7607b41f918eaed2806fb5262086097c7137def5a9ba93f68cc7ba9ac10727038c8f9738b1d0a5651e85f0db50ff5
        sha512sums = 
2f8c46354777050a07001156e3e94821fce43a491712e88b8930a5081060506b0b8de8d05c9ac057aa2891ff73ef855772373299006edbc62b1734af529a2014
 
 pkgname = webhook


=====================================
PKGBUILD
=====================================
@@ -1,21 +1,21 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=webhook
-pkgver=2.8.2
-pkgrel=2
+pkgver=2.8.3
+pkgrel=1
 pkgdesc="A lightweight incoming webhook server to run shell commands"
 arch=('x86_64')
 url="https://github.com/adnanh/webhook";
 license=('MIT')
 depends=('glibc')
 makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/adnanh/webhook/archive/$pkgver.tar.gz";
+source=("git+https://github.com/adnanh/webhook.git#tag=$pkgver";
         webhook.service)
-sha512sums=('2006afc324a265e807bc8be6d2aa108e06082360891682c188be932bdbf6ece3d8d67bb653f9a5466e71bbb256c66f7411920c8c96aee6bb64daba888eba7c1d'
+sha512sums=('4978ec2620428f94fd6e70f0c5854d5f18a7607b41f918eaed2806fb5262086097c7137def5a9ba93f68cc7ba9ac10727038c8f9738b1d0a5651e85f0db50ff5'
             
'2f8c46354777050a07001156e3e94821fce43a491712e88b8930a5081060506b0b8de8d05c9ac057aa2891ff73ef855772373299006edbc62b1734af529a2014')
 
 prepare() {
-  cd webhook-$pkgver
+  cd webhook
 
   mkdir -p .gopath/src/github.com/adnanh
   ln -sf "$PWD" .gopath/src/github.com/adnanh/webhook
@@ -34,16 +34,15 @@ build() {
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
 
-  cd "$srcdir"/webhook-$pkgver
+  cd webhook
   go build -ldflags="-s -w -buildid=''" -o build/webhook
 }
 
 package() {
-  cd webhook-$pkgver
+  cd webhook
 
   install -Dm755 build/webhook "$pkgdir"/usr/bin/webhook
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 
-  install -dm755 "$pkgdir"/etc/webhook
-  install -Dm644 "$srcdir"/webhook.service 
"$pkgdir"/usr/lib/systemd/system/webhook.service
+  install -Dm644 "$srcdir"/webhook.service -t "$pkgdir"/usr/lib/systemd/system/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/webhook/-/commit/294f730277f184b39a9f5fde5b272589f56f7e56

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/webhook/-/commit/294f730277f184b39a9f5fde5b272589f56f7e56
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to