Date: Wednesday, February 26, 2020 @ 22:46:39 Author: maximbaz Revision: 583489
archrelease: copy trunk to community-x86_64 Added: croc/repos/community-x86_64/PKGBUILD (from rev 583488, croc/trunk/PKGBUILD) croc/repos/community-x86_64/croc.service (from rev 583488, croc/trunk/croc.service) Deleted: croc/repos/community-x86_64/PKGBUILD croc/repos/community-x86_64/croc.service --------------+ PKGBUILD | 66 ++++++++++++++++++++++++++++----------------------------- croc.service | 24 ++++++++++---------- 2 files changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-26 22:46:35 UTC (rev 583488) +++ PKGBUILD 2020-02-26 22:46:39 UTC (rev 583489) @@ -1,33 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> - -pkgname=croc -pkgver=6.4.10 -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}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz" - "${pkgname}.service") -sha256sums=('433e60b130ad0dfb119d6d18a80e38d246b561ea41be44bbac2b5eabc6d1a8a4' - 'cf074568f16c7b86870a89a0a2d8e488e3837223cca071a911085d814d6f2194') - -build() { - cd "${pkgname}-${pkgver}" - go build -mod vendor -ldflags "-extldflags ${LDFLAGS}" -trimpath -o "${pkgname}" -} - -check() { - cd "${pkgname}-${pkgver}" - go test -mod vendor ./... -} - -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 583488, croc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-26 22:46:39 UTC (rev 583489) @@ -0,0 +1,33 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> + +pkgname=croc +pkgver=6.4.10 +pkgrel=2 +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}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz" + "${pkgname}.service") +sha256sums=('433e60b130ad0dfb119d6d18a80e38d246b561ea41be44bbac2b5eabc6d1a8a4' + 'cf074568f16c7b86870a89a0a2d8e488e3837223cca071a911085d814d6f2194') + +build() { + cd "${pkgname}-${pkgver}" + go build -mod vendor -ldflags "-extldflags ${LDFLAGS}" -trimpath -o "${pkgname}" +} + +check() { + cd "${pkgname}-${pkgver}" + go test -mod vendor ./... +} + +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 2020-02-26 22:46:35 UTC (rev 583488) +++ croc.service 2020-02-26 22:46:39 UTC (rev 583489) @@ -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 583488, croc/trunk/croc.service) =================================================================== --- croc.service (rev 0) +++ croc.service 2020-02-26 22:46:39 UTC (rev 583489) @@ -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