Date: Saturday, November 21, 2020 @ 16:16:27 Author: maximbaz Revision: 758495
archrelease: copy trunk to community-x86_64 Added: croc/repos/community-x86_64/PKGBUILD (from rev 758494, croc/trunk/PKGBUILD) Deleted: croc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-21 16:16:23 UTC (rev 758494) +++ PKGBUILD 2020-11-21 16:16:27 UTC (rev 758495) @@ -1,36 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> - -pkgname=croc -pkgver=8.6.4 -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=('776d9f222e8091b1d7cd090e19f2b5bac571838ac38174e23be03ad566960ef8') - -build() { - cd "${pkgname}-${pkgver}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -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 758494, croc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-21 16:16:27 UTC (rev 758495) @@ -0,0 +1,36 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Mikuro Kagamine <miku...@forgecrushing.com> + +pkgname=croc +pkgver=8.6.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') +source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz") +sha256sums=('739a5efb389373e32b10dfd234b60f651f8cb861dff8667b32d5677d4c9856ed') + +build() { + cd "${pkgname}-${pkgver}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -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 +}