Date: Sunday, September 20, 2020 @ 11:50:31 Author: foxboron Revision: 711066
archrelease: copy trunk to community-x86_64 Added: restic/repos/community-x86_64/PKGBUILD (from rev 711065, restic/trunk/PKGBUILD) Deleted: restic/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-20 11:49:40 UTC (rev 711065) +++ PKGBUILD 2020-09-20 11:50:31 UTC (rev 711066) @@ -1,39 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=restic -pkgver=0.9.6 -pkgrel=3 -pkgdesc="Fast, secure, efficient backup program" -arch=('x86_64') -url="https://restic.net" -license=('BSD') -depends=('glibc') -makedepends=('go' 'git') -checkdepends=('fuse2') -optdepends=('fuse2: mount archive') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz") -sha256sums=('1cc8655fa99f06e787871a9f8b5ceec283c856fa341a5b38824a0ca89420b0fe') - -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 -mod=vendor -modcacherw" - go build -ldflags "-X 'main.version=${pkgver}'" ./cmd/... -} - -check(){ - cd "${pkgname}-${pkgver}" - go test ./cmd/... ./internal/... || true -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm755 restic "${pkgdir}/usr/bin/restic" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 -t "$pkgdir/usr/share/man/man1/" doc/man/*.1 - install -Dm644 doc/zsh-completion.zsh "$pkgdir/usr/share/zsh/site-functions/_restic" - install -Dm644 doc/bash-completion.sh "$pkgdir/usr/share/bash-completion/completions/restic" -} Copied: restic/repos/community-x86_64/PKGBUILD (from rev 711065, restic/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-20 11:50:31 UTC (rev 711066) @@ -0,0 +1,39 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +pkgname=restic +pkgver=0.10.0 +pkgrel=1 +pkgdesc="Fast, secure, efficient backup program" +arch=('x86_64') +url="https://restic.net" +license=('BSD') +depends=('glibc') +makedepends=('go' 'git') +checkdepends=('fuse2') +optdepends=('fuse2: mount archive') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz") +sha256sums=('067fbc0cf0eee4afdc361e12bd03b266e80e85a726647e53709854ec142dd94e') + +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 -modcacherw" + go build -ldflags "-X 'main.version=${pkgver}'" ./cmd/... +} + +check(){ + cd "${pkgname}-${pkgver}" + go test ./cmd/... ./internal/... || true +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 restic "${pkgdir}/usr/bin/restic" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 -t "$pkgdir/usr/share/man/man1/" doc/man/*.1 + install -Dm644 doc/zsh-completion.zsh "$pkgdir/usr/share/zsh/site-functions/_restic" + install -Dm644 doc/bash-completion.sh "$pkgdir/usr/share/bash-completion/completions/restic" +}