Date: Monday, December 16, 2019 @ 18:33:43 Author: maximbaz Revision: 537876
archrelease: copy trunk to community-x86_64 Added: croc/repos/community-x86_64/PKGBUILD (from rev 537875, croc/trunk/PKGBUILD) croc/repos/community-x86_64/croc.service (from rev 537875, 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 2019-12-16 18:33:37 UTC (rev 537875) +++ PKGBUILD 2019-12-16 18:33:43 UTC (rev 537876) @@ -1,33 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> - -pkgname=croc -pkgver=6.4.6 -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=('c2bff8dd00b808e5ac0181e7126351c8a8801d2d789e047780e6612002236fc8' - 'cf074568f16c7b86870a89a0a2d8e488e3837223cca071a911085d814d6f2194') - -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 -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 537875, croc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-16 18:33:43 UTC (rev 537876) @@ -0,0 +1,33 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> + +pkgname=croc +pkgver=6.4.7 +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=('1c3b79605d99100d96da8a4e22e13ab3040b08d2308cabd03fb3dceb4ec32e1b' + 'cf074568f16c7b86870a89a0a2d8e488e3837223cca071a911085d814d6f2194') + +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 -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 2019-12-16 18:33:37 UTC (rev 537875) +++ croc.service 2019-12-16 18:33:43 UTC (rev 537876) @@ -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 537875, croc/trunk/croc.service) =================================================================== --- croc.service (rev 0) +++ croc.service 2019-12-16 18:33:43 UTC (rev 537876) @@ -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