[arch-commits] Commit in curlie/trunk (PKGBUILD)

2020-11-05 Thread Maxim Baz via arch-commits
Date: Thursday, November 5, 2020 @ 10:16:41
  Author: maximbaz
Revision: 743063

upgpkg: curlie 1.6.0-1

Modified:
  curlie/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-05 10:16:13 UTC (rev 743062)
+++ PKGBUILD2020-11-05 10:16:41 UTC (rev 743063)
@@ -2,8 +2,8 @@
 # Contributor: Jianfeng Zhang 
 
 pkgname=curlie
-pkgver=1.5.4
-pkgrel=3
+pkgver=1.6.0
+pkgrel=1
 pkgdesc='The power of curl, the ease of use of httpie.'
 arch=('x86_64')
 url="https://curlie.io";
@@ -11,7 +11,7 @@
 depends=('glibc' 'curl')
 makedepends=('go')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rs/${pkgname}/archive/v${pkgver}.tar.gz";)
-sha256sums=('6a8ea001733d337214fbea3031efb651b96838d1db7a0d6b0ce9aa8bb8138c1e')
+sha256sums=('7ed115d9d785e587f426e5d7f1e408ce687ed61389b63398fce0e60f3a5f3df8')
 
 build() {
 cd "${pkgname}-${pkgver}"


[arch-commits] Commit in curlie/trunk (PKGBUILD)

2020-10-01 Thread Maxim Baz via arch-commits
Date: Thursday, October 1, 2020 @ 21:28:54
  Author: maximbaz
Revision: 714360

curlie: pass version info

Modified:
  curlie/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-01 21:28:53 UTC (rev 714359)
+++ PKGBUILD2020-10-01 21:28:54 UTC (rev 714360)
@@ -3,7 +3,7 @@
 
 pkgname=curlie
 pkgver=1.5.4
-pkgrel=2
+pkgrel=3
 pkgdesc='The power of curl, the ease of use of httpie.'
 arch=('x86_64')
 url="https://curlie.io";
@@ -15,12 +15,14 @@
 
 build() {
 cd "${pkgname}-${pkgver}"
+
 export CGO_CPPFLAGS="${CPPFLAGS}"
 export CGO_CFLAGS="${CFLAGS}"
 export CGO_CXXFLAGS="${CXXFLAGS}"
 export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
-go build
+export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+go build -ldflags "-X main.version=$pkgver -X main.date=$(date -u -I) 
-linkmode=external"
 }
 
 package() {


[arch-commits] Commit in curlie/trunk (PKGBUILD)

2020-10-01 Thread Maxim Baz via arch-commits
Date: Thursday, October 1, 2020 @ 20:54:46
  Author: maximbaz
Revision: 714297

upgpkg: curlie 1.5.4-2

Modified:
  curlie/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-01 20:54:38 UTC (rev 714296)
+++ PKGBUILD2020-10-01 20:54:46 UTC (rev 714297)
@@ -10,7 +10,7 @@
 license=('MIT')
 depends=('glibc' 'curl')
 makedepends=('go')
-source=("https://github.com/rs/${pkgname}/archive/v${pkgver}.tar.gz";)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rs/${pkgname}/archive/v${pkgver}.tar.gz";)
 sha256sums=('6a8ea001733d337214fbea3031efb651b96838d1db7a0d6b0ce9aa8bb8138c1e')
 
 build() {