[arch-commits] Commit in matterbridge/repos/community-x86_64 (4 files)
Bruno Pagani
archange at archlinux.org
Wed Nov 28 16:26:29 UTC 2018
Date: Wednesday, November 28, 2018 @ 16:26:29
Author: archange
Revision: 410433
archrelease: copy trunk to community-x86_64
Added:
matterbridge/repos/community-x86_64/PKGBUILD
(from rev 410432, matterbridge/trunk/PKGBUILD)
matterbridge/repos/community-x86_64/matterbridge.service
(from rev 410432, matterbridge/trunk/matterbridge.service)
Deleted:
matterbridge/repos/community-x86_64/PKGBUILD
matterbridge/repos/community-x86_64/matterbridge.service
----------------------+
PKGBUILD | 73 +++++++++++++++++++++++--------------------------
matterbridge.service | 24 ++++++++--------
2 files changed, 47 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-28 16:26:12 UTC (rev 410432)
+++ PKGBUILD 2018-11-28 16:26:29 UTC (rev 410433)
@@ -1,38 +0,0 @@
-# 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/
-}
Copied: matterbridge/repos/community-x86_64/PKGBUILD (from rev 410432, matterbridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-28 16:26:29 UTC (rev 410433)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=matterbridge
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
+arch=('x86_64')
+url="https://github.com/42wim/matterbridge"
+license=('Apache')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+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=('2e0548eb46f0beb79b64877a3618ca487d2735e8a83466c9657f2336dbc52e71'
+ 'SKIP'
+ 'afb424b918f7108f5efae39afbed5d23d9a2c36710c6e0adbb96c7e5c7835aa3')
+validpgpkeys=('CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4') # wim <wim at 42.be>
+
+build() {
+ cd ${pkgname}-${pkgver}
+ go build -v \
+ -gcflags "all=-trimpath=${PWD}" \
+ -asmflags "all=-trimpath=${PWD}" \
+ -ldflags "-extldflags ${LDFLAGS}" \
+ -o ${pkgname} .
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
+ install -Dm644 matterbridge.toml.sample "${pkgdir}"/etc/matterbridge.toml
+ install -Dm644 ../${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
+}
Deleted: matterbridge.service
===================================================================
--- matterbridge.service 2018-11-28 16:26:12 UTC (rev 410432)
+++ matterbridge.service 2018-11-28 16:26:29 UTC (rev 410433)
@@ -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 410432, matterbridge/trunk/matterbridge.service)
===================================================================
--- matterbridge.service (rev 0)
+++ matterbridge.service 2018-11-28 16:26:29 UTC (rev 410433)
@@ -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