[arch-commits] Commit in webhook/repos/community-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Mon Mar 2 18:43:05 UTC 2020


    Date: Monday, March 2, 2020 @ 18:43:05
  Author: jelle
Revision: 588667

archrelease: copy trunk to community-x86_64

Added:
  webhook/repos/community-x86_64/PKGBUILD
    (from rev 588666, webhook/trunk/PKGBUILD)
  webhook/repos/community-x86_64/webhook.service
    (from rev 588666, webhook/trunk/webhook.service)
Deleted:
  webhook/repos/community-x86_64/PKGBUILD
  webhook/repos/community-x86_64/webhook.service

-----------------+
 PKGBUILD        |   92 +++++++++++++++++++++++++++---------------------------
 webhook.service |   24 +++++++-------
 2 files changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-02 18:42:58 UTC (rev 588666)
+++ PKGBUILD	2020-03-02 18:43:05 UTC (rev 588667)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=webhook
-pkgver=2.6.11
-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-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/adnanh/webhook/archive/$pkgver.tar.gz"
-        webhook.service
-        go.uuid.patch::https://github.com/adnanh/webhook/pull/321.patch)
-sha512sums=('561bbb14674e868fc101563639c0d4f49c01a569f50fff8777905e76aceb59abcc80466029c32193ac139e6085d98153cc7d94cdbb2a239b108bc26efa943b16'
-            '4b08e6348a7e51aa4df668f1541f12e08960801d2e039b480de6ad73d26b8c325012474f83a3c8e819caafc216535c0b259aed1daf2226d545f895d0bd3d8efe'
-            'fd66e890167fd620aed3df57dceb251460ac13e67b1c64e13d7a2628720703cf08977d61a8a30bf19988cfd273c2aa221ca98448f280fc5c35343a08d145c46f')
-
-prepare() {
-  cd webhook-$pkgver
-  patch -p1 -i ../go.uuid.patch
-
-  mkdir -p .gopath/src/github.com/adnanh
-  ln -sf "$PWD" .gopath/src/github.com/adnanh/webhook
-  export GOPATH="$PWD/.gopath:/usr/share/gocode"
-
-  rm -r vendor
-
-  go get github.com/codegangsta/negroni github.com/gorilla/mux github.com/satori/go.uuid \
-         gopkg.in/fsnotify.v1 github.com/ghodss/yaml
-}
-
-build() {
-  cd "$srcdir"/webhook-$pkgver
-  go build  -ldflags "-extldflags ${LDFLAGS}" -o build/webhook
-}
-
-package() {
-  cd webhook-$pkgver
-
-  install -Dm755 build/webhook "$pkgdir"/usr/bin/webhook
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  install -dm755 "$pkgdir"/etc/webhook
-  install -Dm644 "$srcdir"/webhook.service "$pkgdir"/usr/lib/systemd/system/webhook.service
-}

Copied: webhook/repos/community-x86_64/PKGBUILD (from rev 588666, webhook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-02 18:43:05 UTC (rev 588667)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=webhook
+pkgver=2.6.11
+pkgrel=2
+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-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/adnanh/webhook/archive/$pkgver.tar.gz"
+        webhook.service
+        go.uuid.patch::https://github.com/adnanh/webhook/pull/321.patch)
+sha512sums=('561bbb14674e868fc101563639c0d4f49c01a569f50fff8777905e76aceb59abcc80466029c32193ac139e6085d98153cc7d94cdbb2a239b108bc26efa943b16'
+            '4b08e6348a7e51aa4df668f1541f12e08960801d2e039b480de6ad73d26b8c325012474f83a3c8e819caafc216535c0b259aed1daf2226d545f895d0bd3d8efe'
+            'fd66e890167fd620aed3df57dceb251460ac13e67b1c64e13d7a2628720703cf08977d61a8a30bf19988cfd273c2aa221ca98448f280fc5c35343a08d145c46f')
+
+prepare() {
+  cd webhook-$pkgver
+  patch -p1 -i ../go.uuid.patch
+
+  mkdir -p .gopath/src/github.com/adnanh
+  ln -sf "$PWD" .gopath/src/github.com/adnanh/webhook
+  export GOPATH="$PWD/.gopath:/usr/share/gocode"
+
+  rm -r vendor
+
+  go get github.com/codegangsta/negroni github.com/gorilla/mux github.com/satori/go.uuid \
+         gopkg.in/fsnotify.v1 github.com/ghodss/yaml
+}
+
+build() {
+  cd "$srcdir"/webhook-$pkgver
+  go build  -ldflags "-extldflags ${LDFLAGS}" -o build/webhook
+}
+
+package() {
+  cd webhook-$pkgver
+
+  install -Dm755 build/webhook "$pkgdir"/usr/bin/webhook
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  install -dm755 "$pkgdir"/etc/webhook
+  install -Dm644 "$srcdir"/webhook.service "$pkgdir"/usr/lib/systemd/system/webhook.service
+}

Deleted: webhook.service
===================================================================
--- webhook.service	2020-03-02 18:42:58 UTC (rev 588666)
+++ webhook.service	2020-03-02 18:43:05 UTC (rev 588667)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Webhook Service
-After=network.target
-Wants=network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/webhook -hooks /etc/webhook/hooks.json -verbose
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target

Copied: webhook/repos/community-x86_64/webhook.service (from rev 588666, webhook/trunk/webhook.service)
===================================================================
--- webhook.service	                        (rev 0)
+++ webhook.service	2020-03-02 18:43:05 UTC (rev 588667)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Webhook Service
+After=network.target
+Wants=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/webhook -hooks /etc/webhook/hooks.json -verbose
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list