[arch-commits] Commit in gox/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Feb 22 04:56:31 UTC 2021


    Date: Monday, February 22, 2021 @ 04:56:31
  Author: svenstaro
Revision: 868382

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-22 04:56:26 UTC (rev 868381)
+++ PKGBUILD	2021-02-22 04:56:31 UTC (rev 868382)
@@ -1,38 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Simon Legner <Simon.Legner at gmail.com>
-# Contributor: Dmitri Goutnik <dg at syrec.org>
-# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
-
-pkgname=gox
-pkgver=1.0.1
-pkgrel=4
-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')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('25aab55a4ba75653931be2a2b95e29216b54bd8fecc7931bd416efe49a388229')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  go build .
-}
-
-check() {
-  cd $pkgname-$pkgver
-  go test .
-}
-
-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 868381, gox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-22 04:56:31 UTC (rev 868382)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Simon Legner <Simon.Legner at gmail.com>
+# Contributor: Dmitri Goutnik <dg at syrec.org>
+# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+pkgname=gox
+pkgver=1.0.1
+pkgrel=5
+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')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('25aab55a4ba75653931be2a2b95e29216b54bd8fecc7931bd416efe49a388229')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+  go build .
+}
+
+check() {
+  cd $pkgname-$pkgver
+  go test .
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+}


More information about the arch-commits mailing list