Date: Sunday, February 13, 2022 @ 23:53:46 Author: orhun Revision: 1133101
archrelease: copy trunk to community-x86_64 Added: fq/repos/community-x86_64/PKGBUILD (from rev 1133100, fq/trunk/PKGBUILD) Deleted: fq/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 91 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-13 23:53:36 UTC (rev 1133100) +++ PKGBUILD 2022-02-13 23:53:46 UTC (rev 1133101) @@ -1,45 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Contributor: Daniel Milde <daniel at milde dot cz> - -pkgname=fq -pkgver=0.0.4 -pkgrel=1 -pkgdesc="Tool, language and decoders for inspecting binary data" -arch=('x86_64') -url="https://github.com/wader/fq" -license=('MIT') -depends=('glibc') -makedepends=('go' 'git') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz") -sha256sums=('39c1722ea04bf395f961e7bd5c40ff440838e3d95f7a2daf1145c6d384258912') - -prepare() { - cd "${pkgname}-${pkgver}" - mkdir -p dist/ -} - -build() { - cd "${pkgname}-${pkgver}" - go build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" ${_BUILDINFO}" \ - -o dist/fq \ - . -} - -check() { - cd "${pkgname}-${pkgver}" - go test ./... -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm 755 "dist/${pkgname}" -t "${pkgdir}/usr/bin" - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim:set ts=2 sw=2 et: Copied: fq/repos/community-x86_64/PKGBUILD (from rev 1133100, fq/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-13 23:53:46 UTC (rev 1133101) @@ -0,0 +1,46 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: Daniel Milde <daniel at milde dot cz> + +pkgname=fq +pkgver=0.0.5 +pkgrel=1 +pkgdesc="Tool, language and decoders for inspecting binary data" +arch=('x86_64') +url="https://github.com/wader/fq" +license=('MIT') +depends=('glibc') +checkdepends=('expect') +makedepends=('go' 'git') +source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz") +sha256sums=('50116ed8f627258cd49b45cd474f98f1a9256229e17524e9626f64df18a86190') + +prepare() { + cd "${pkgname}-${pkgver}" + mkdir -p dist/ +} + +build() { + cd "${pkgname}-${pkgver}" + go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" ${_BUILDINFO}" \ + -o dist/fq \ + . +} + +check() { + cd "${pkgname}-${pkgver}" + make test +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm 755 "dist/${pkgname}" -t "${pkgdir}/usr/bin" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim:set ts=2 sw=2 et: