[arch-commits] Commit in croc/repos/community-x86_64 (4 files)
Maxim Baz
maximbaz at archlinux.org
Sun Nov 17 23:25:48 UTC 2019
Date: Sunday, November 17, 2019 @ 23:25:48
Author: maximbaz
Revision: 530263
archrelease: copy trunk to community-x86_64
Added:
croc/repos/community-x86_64/PKGBUILD
(from rev 530262, croc/trunk/PKGBUILD)
croc/repos/community-x86_64/croc.service
(from rev 530262, croc/trunk/croc.service)
Deleted:
croc/repos/community-x86_64/PKGBUILD
croc/repos/community-x86_64/croc.service
--------------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++---------------------------
croc.service | 24 +++++++++----------
2 files changed, 51 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-17 23:25:37 UTC (rev 530262)
+++ PKGBUILD 2019-11-17 23:25:48 UTC (rev 530263)
@@ -1,33 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
-
-pkgname=croc
-pkgver=6.2.2
-pkgrel=1
-pkgdesc='Easily and securely send things from one computer to another.'
-arch=('x86_64')
-url="https://github.com/schollz/${pkgname}"
-license=('MIT')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("${url}/archive/v${pkgver}.tar.gz"
- "${pkgname}.service")
-sha256sums=('a527b67cf3f406751bc5c8c8ae72fb7f3574c0aeb94de4e522c5255551461a9c'
- 'cf074568f16c7b86870a89a0a2d8e488e3837223cca071a911085d814d6f2194')
-
-build() {
- cd "${pkgname}-${pkgver}"
- go build -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -o "${pkgname}"
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- go test ./...
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
- install -Dm644 -t "${pkgdir}/usr/lib/systemd/system/" "${srcdir}/${pkgname}.service"
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}
Copied: croc/repos/community-x86_64/PKGBUILD (from rev 530262, croc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-17 23:25:48 UTC (rev 530263)
@@ -0,0 +1,39 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
+
+pkgname=croc
+pkgver=6.2.3
+pkgrel=1
+pkgdesc='Easily and securely send things from one computer to another.'
+arch=('x86_64')
+url="https://github.com/schollz/${pkgname}"
+license=('MIT')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("${url}/archive/v${pkgver}.tar.gz"
+ "${pkgname}.service")
+sha256sums=('57033bd3e0c61ed9ac9e8515e4f1e08ae43a57fe6a01c6ff73f446c2098072d4'
+ 'cf074568f16c7b86870a89a0a2d8e488e3837223cca071a911085d814d6f2194')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ go mod tidy
+ go mod vendor
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ go build -mod vendor -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -o "${pkgname}"
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+ install -Dm644 -t "${pkgdir}/usr/lib/systemd/system/" "${srcdir}/${pkgname}.service"
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}
Deleted: croc.service
===================================================================
--- croc.service 2019-11-17 23:25:37 UTC (rev 530262)
+++ croc.service 2019-11-17 23:25:48 UTC (rev 530263)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Croc relay
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ExecStart=/usr/bin/croc relay
-
-[Install]
-WantedBy=multi-user.target
Copied: croc/repos/community-x86_64/croc.service (from rev 530262, croc/trunk/croc.service)
===================================================================
--- croc.service (rev 0)
+++ croc.service 2019-11-17 23:25:48 UTC (rev 530263)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Croc relay
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/croc relay
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list