Date: Thursday, September 3, 2020 @ 16:12:40 Author: maximbaz Revision: 697517
archrelease: copy trunk to community-x86_64 Added: croc/repos/community-x86_64/PKGBUILD (from rev 697516, croc/trunk/PKGBUILD) Deleted: croc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-03 16:12:37 UTC (rev 697516) +++ PKGBUILD 2020-09-03 16:12:40 UTC (rev 697517) @@ -1,33 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> - -pkgname=croc -pkgver=8.1.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') -source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz") -sha256sums=('43ab51094d9c90539b252957710be85934f0dfd0ad8aab41b480be3147f532d9') - -build() { - cd "${pkgname}-${pkgver}" - export CGO_LDFLAGS="$LDFLAGS" - export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw" - go build -} - -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/" "${pkgname}.service" - install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE -} Copied: croc/repos/community-x86_64/PKGBUILD (from rev 697516, croc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-03 16:12:40 UTC (rev 697517) @@ -0,0 +1,33 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> + +pkgname=croc +pkgver=8.2.0 +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') +source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz") +sha256sums=('2a3f68e19ff9bf41bccad81455deddc5e92ae6abef000e5ff068daae003be256') + +build() { + cd "${pkgname}-${pkgver}" + export CGO_LDFLAGS="$LDFLAGS" + export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw" + go build +} + +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/" "${pkgname}.service" + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE +}