Date: Thursday, June 2, 2022 @ 07:59:28 Author: grawlinson Revision: 1218656
archrelease: copy trunk to community-x86_64 Added: dagger/repos/community-x86_64/PKGBUILD (from rev 1218655, dagger/trunk/PKGBUILD) Deleted: dagger/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-02 07:58:41 UTC (rev 1218655) +++ PKGBUILD 2022-06-02 07:59:28 UTC (rev 1218656) @@ -1,63 +0,0 @@ -# Maintainer: George Rawlinson <grawlin...@archlinux.org> - -pkgname=dagger -pkgver=0.2.13 -pkgrel=1 -pkgdesc='A portable devkit for CI/CD pipelines' -arch=('x86_64') -url='https://dagger.io' -license=('Apache') -depends=('glibc') -makedepends=('git' 'go') -options=('!lto') -_commit='4ad67d1397f7422d9120a87451d1878e0cb0d9d4' -source=("$pkgname::git+https://github.com/dagger/dagger.git#commit=$_commit") -b2sums=('SKIP') - -pkgver() { - cd "$pkgname" - - git describe --tags | sed 's/^v//' -} - -prepare() { - cd "$pkgname" - - # create directory for build output - mkdir build - - # download dependencies - go mod download -} - -build() { - cd "$pkgname" - - # set Go flags - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - - go build -v \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "-linkmode external -extldflags $LDFLAGS \ - -X go.dagger.io/dagger/version.Revision=$_commit \ - -X go.dagger.io/dagger/version.Version=$pkgver" \ - -o build \ - ./cmd/... -} - -check() { - cd "$pkgname" - - go test -v ./... -} - -package() { - cd "$pkgname" - - install -vDm755 -t "$pkgdir/usr/bin" build/dagger -} Copied: dagger/repos/community-x86_64/PKGBUILD (from rev 1218655, dagger/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-02 07:59:28 UTC (rev 1218656) @@ -0,0 +1,63 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> + +pkgname=dagger +pkgver=0.2.14 +pkgrel=1 +pkgdesc='A portable devkit for CI/CD pipelines' +arch=('x86_64') +url='https://dagger.io' +license=('Apache') +depends=('glibc') +makedepends=('git' 'go') +options=('!lto') +_commit='a2eeac11b20d4b9003d380b8461f19ff281eabbf' +source=("$pkgname::git+https://github.com/dagger/dagger.git#commit=$_commit") +b2sums=('SKIP') + +pkgver() { + cd "$pkgname" + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd "$pkgname" + + # create directory for build output + mkdir build + + # download dependencies + go mod download +} + +build() { + cd "$pkgname" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags $LDFLAGS \ + -X go.dagger.io/dagger/version.Revision=$_commit \ + -X go.dagger.io/dagger/version.Version=$pkgver" \ + -o build \ + ./cmd/... +} + +check() { + cd "$pkgname" + + go test -v ./... +} + +package() { + cd "$pkgname" + + install -vDm755 -t "$pkgdir/usr/bin" build/dagger +}