Date: Wednesday, March 25, 2020 @ 02:01:42 Author: svenstaro Revision: 603973
archrelease: copy trunk to community-x86_64 Added: gox/repos/community-x86_64/PKGBUILD (from rev 603972, gox/trunk/PKGBUILD) Deleted: gox/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-25 02:01:31 UTC (rev 603972) +++ PKGBUILD 2020-03-25 02:01:42 UTC (rev 603973) @@ -1,37 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Contributor: Simon Legner <simon.leg...@gmail.com> -# Contributor: Dmitri Goutnik <d...@syrec.org> -# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com> - -pkgname=gox -pkgver=1.0.1 -pkgrel=2 -pkgdesc="A simple, no-frills tool for Go cross compilation" -arch=('x86_64') -url="https://github.com/mitchellh/${pkgname}" -license=('MPL2') -depends=('glibc') -makedepends=('go-pie') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('25aab55a4ba75653931be2a2b95e29216b54bd8fecc7931bd416efe49a388229') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - go mod download -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - go build -mod=vendor -trimpath -ldflags "-extldflags $LDFLAGS" -} - -check() { - cd $pkgname-$pkgver - go test -mod=vendor -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname" - install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" -} Copied: gox/repos/community-x86_64/PKGBUILD (from rev 603972, gox/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-25 02:01:42 UTC (rev 603973) @@ -0,0 +1,37 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: Simon Legner <simon.leg...@gmail.com> +# Contributor: Dmitri Goutnik <d...@syrec.org> +# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com> + +pkgname=gox +pkgver=1.0.1 +pkgrel=3 +pkgdesc="A simple, no-frills tool for Go cross compilation" +arch=('x86_64') +url="https://github.com/mitchellh/${pkgname}" +license=('MPL2') +depends=('glibc') +makedepends=('go-pie') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('25aab55a4ba75653931be2a2b95e29216b54bd8fecc7931bd416efe49a388229') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + go mod vendor +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + go build -mod=vendor -trimpath -ldflags "-extldflags $LDFLAGS" +} + +check() { + cd $pkgname-$pkgver + go test -mod=vendor +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" +}