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

Bruno Pagani archange at archlinux.org
Tue Oct 23 18:05:08 UTC 2018


    Date: Tuesday, October 23, 2018 @ 18:05:08
  Author: archange
Revision: 398707

archrelease: copy trunk to community-x86_64

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

----------------------+
 PKGBUILD             |   75 ++++++++++++++++++++++++-------------------------
 matterbridge.service |   24 +++++++--------
 2 files changed, 50 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-23 18:04:59 UTC (rev 398706)
+++ PKGBUILD	2018-10-23 18:05:08 UTC (rev 398707)
@@ -1,37 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=matterbridge
-pkgver=1.11.1
-pkgrel=1
-pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
-arch=('x86_64')
-_url="github.com/42wim/matterbridge"
-url="https://${_url}"
-license=('Apache')
-depends=('glibc')
-makedepends=('go-pie')
-backup=('etc/matterbridge.toml')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
-        ${pkgname}-${pkgver}.tar.gz.asc::"${url}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc"
-        'matterbridge.service')
-sha256sums=('1ee04e8da50e1274ee5d3886ead67d1a9b0b5429568ce1f0285b2b40c47a2774'
-            'SKIP'
-            'afb424b918f7108f5efae39afbed5d23d9a2c36710c6e0adbb96c7e5c7835aa3')
-validpgpkeys=('CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4') # wim <wim at 42.be>
-
-prepare() {
-  export GOPATH="${srcdir}"/gopath
-  mkdir -p "$GOPATH"/src/${_url}
-  cp -r ${pkgname}-${pkgver}/* "$GOPATH"/src/${_url}
-}
-
-build() {
-  export GOPATH="${srcdir}"/gopath
-  go install -v ${_url}
-}
-
-package() {
-  install -Dm755 gopath/bin/matterbridge -t "${pkgdir}"/usr/bin/
-  install -Dm644 ${pkgname}-${pkgver}/matterbridge.toml.sample "${pkgdir}"/etc/matterbridge.toml
-  install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
-}

Copied: matterbridge/repos/community-x86_64/PKGBUILD (from rev 398706, matterbridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-23 18:05:08 UTC (rev 398707)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=matterbridge
+pkgver=1.11.3
+pkgrel=1
+pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
+arch=('x86_64')
+_url="github.com/42wim/matterbridge"
+url="https://${_url}"
+license=('Apache')
+depends=('glibc')
+makedepends=('go-pie')
+backup=('etc/matterbridge.toml')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
+        ${pkgname}-${pkgver}.tar.gz.asc::"${url}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc"
+        'matterbridge.service')
+sha256sums=('84c2e5108255ea45a02c25893c94ec6a0ed65156ac311bfc5a5151840acf0b63'
+            'SKIP'
+            'afb424b918f7108f5efae39afbed5d23d9a2c36710c6e0adbb96c7e5c7835aa3')
+validpgpkeys=('CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4') # wim <wim at 42.be>
+
+prepare() {
+  mkdir -p gopath/src/${_url%/*}
+  ln -rTsf ${pkgname}-${pkgver} gopath/src/${_url}
+}
+
+build() {
+  export GOPATH="${srcdir}"/gopath
+  go install \
+    -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" \
+    -ldflags "-linkmode external -extldflags ${LDFLAGS} -s -w" -v ${_url}
+}
+
+package() {
+  install -Dm755 gopath/bin/matterbridge -t "${pkgdir}"/usr/bin/
+  install -Dm644 ${pkgname}-${pkgver}/matterbridge.toml.sample "${pkgdir}"/etc/matterbridge.toml
+  install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
+}

Deleted: matterbridge.service
===================================================================
--- matterbridge.service	2018-10-23 18:04:59 UTC (rev 398706)
+++ matterbridge.service	2018-10-23 18:05:08 UTC (rev 398707)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Multi-protocols bridge for online communications
-After=network.target
-
-[Service]
-User=nobody
-Group=nobody
-ExecStart=/usr/bin/matterbridge -conf /etc/matterbridge.toml
-Type=simple
-
-[Install]
-WantedBy=multi-user.target

Copied: matterbridge/repos/community-x86_64/matterbridge.service (from rev 398706, matterbridge/trunk/matterbridge.service)
===================================================================
--- matterbridge.service	                        (rev 0)
+++ matterbridge.service	2018-10-23 18:05:08 UTC (rev 398707)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Multi-protocols bridge for online communications
+After=network.target
+
+[Service]
+User=nobody
+Group=nobody
+ExecStart=/usr/bin/matterbridge -conf /etc/matterbridge.toml
+Type=simple
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list