[arch-commits] Commit in curlie/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Mon Feb 22 19:29:29 UTC 2021
Date: Monday, February 22, 2021 @ 19:29:29
Author: maximbaz
Revision: 868877
archrelease: copy trunk to community-x86_64
Added:
curlie/repos/community-x86_64/PKGBUILD
(from rev 868876, curlie/trunk/PKGBUILD)
Deleted:
curlie/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-22 19:29:25 UTC (rev 868876)
+++ PKGBUILD 2021-02-22 19:29:29 UTC (rev 868877)
@@ -1,32 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Jianfeng Zhang <swordfeng123 at gmail.com>
-
-pkgname=curlie
-pkgver=1.6.0
-pkgrel=1
-pkgdesc='The power of curl, the ease of use of httpie.'
-arch=('x86_64')
-url="https://curlie.io"
-license=('MIT')
-depends=('glibc' 'curl')
-makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rs/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('7ed115d9d785e587f426e5d7f1e408ce687ed61389b63398fce0e60f3a5f3df8')
-
-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 -mod=readonly -modcacherw"
-
- go build -ldflags "-X main.version=$pkgver -X main.date=$(date -u -I) -linkmode=external"
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}
Copied: curlie/repos/community-x86_64/PKGBUILD (from rev 868876, curlie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-22 19:29:29 UTC (rev 868877)
@@ -0,0 +1,32 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Jianfeng Zhang <swordfeng123 at gmail.com>
+
+pkgname=curlie
+pkgver=1.6.0
+pkgrel=2
+pkgdesc='The power of curl, the ease of use of httpie.'
+arch=('x86_64')
+url="https://curlie.io"
+license=('MIT')
+depends=('glibc' 'curl')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rs/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('7ed115d9d785e587f426e5d7f1e408ce687ed61389b63398fce0e60f3a5f3df8')
+
+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 -mod=readonly -modcacherw"
+
+ go build -ldflags "-X main.version=$pkgver -X main.date=$(date -u -I) -linkmode=external -extldflags=$LDFLAGS"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}
More information about the arch-commits
mailing list