Date: Tuesday, March 8, 2022 @ 21:46:50 Author: grawlinson Revision: 1145596
archrelease: copy trunk to community-x86_64 Added: miller/repos/community-x86_64/PKGBUILD (from rev 1145595, miller/trunk/PKGBUILD) Deleted: miller/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-08 21:46:08 UTC (rev 1145595) +++ PKGBUILD 2022-03-08 21:46:50 UTC (rev 1145596) @@ -1,65 +0,0 @@ -# Maintainer: George Rawlinson <grawlin...@archlinux.org> - -pkgname=miller -pkgver=6.0.0 -pkgrel=1 -pkgdesc="Name-indexed data processing tool" -arch=('x86_64') -url="https://github.com/johnkerl/miller" -license=('BSD') -depends=('glibc') -makedepends=('go' 'git') -options=('!lto') -_commit='8346d332a216f377731e2dcaa2c7902c391dd91b' # v6.0.0 -source=("$pkgname::git+$url#commit=$_commit") -md5sums=('SKIP') - -pkgver() { - cd "$pkgname" - git describe --tags | sed "s/^v//" -} - -prepare() { - cd "$pkgname" - - # 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}" \ - ./cmd/mlr -} - -check() { - cd "$pkgname" - - go test -v ./internal/pkg/... - go test -v ./regression_test.go -} - -package() { - cd "$pkgname" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" mlr - - # documentation - install -vDm644 -t "$pkgdir/usr/share/man/man1" man/mlr.1 - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt -} Copied: miller/repos/community-x86_64/PKGBUILD (from rev 1145595, miller/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-08 21:46:50 UTC (rev 1145596) @@ -0,0 +1,65 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> + +pkgname=miller +pkgver=6.1.0 +pkgrel=1 +pkgdesc="Name-indexed data processing tool" +arch=('x86_64') +url="https://github.com/johnkerl/miller" +license=('BSD') +depends=('glibc') +makedepends=('go' 'git') +options=('!lto') +_commit='a84b41ca04513e03845d7007c50b61ff70b17b95' # v6.1.0 +source=("$pkgname::git+$url#commit=$_commit") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --tags | sed "s/^v//" +} + +prepare() { + cd "$pkgname" + + # 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}" \ + ./cmd/mlr +} + +check() { + cd "$pkgname" + + go test -v ./internal/pkg/... + go test -v ./regression_test.go +} + +package() { + cd "$pkgname" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" mlr + + # documentation + install -vDm644 -t "$pkgdir/usr/share/man/man1" man/mlr.1 + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt +}