Date: Tuesday, January 14, 2020 @ 22:52:06
  Author: svenstaro
Revision: 552549

archrelease: copy trunk to community-x86_64

Added:
  gox/repos/community-x86_64/PKGBUILD
    (from rev 552548, gox/trunk/PKGBUILD)
Deleted:
  gox/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 37 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-01-14 22:51:23 UTC (rev 552548)
+++ PKGBUILD    2020-01-14 22:52:06 UTC (rev 552549)
@@ -1,31 +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=1
-pkgdesc="A simple, no-frills tool for Go cross compilation"
-arch=('x86_64')
-url="https://github.com/mitchellh/${pkgname}";
-license=('MPL2')
-makedepends=('go' 'git')
-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 -trimpath -ldflags "-extldflags $LDFLAGS"
-}
-
-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 552548, 
gox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-01-14 22:52:06 UTC (rev 552549)
@@ -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=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"
+}

Reply via email to