[arch-commits] Commit in lazygit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Mar 12 20:06:43 UTC 2021
Date: Friday, March 12, 2021 @ 20:06:43
Author: anthraxx
Revision: 889686
archrelease: copy trunk to community-x86_64
Added:
lazygit/repos/community-x86_64/PKGBUILD
(from rev 889685, lazygit/trunk/PKGBUILD)
Deleted:
lazygit/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-12 20:06:39 UTC (rev 889685)
+++ PKGBUILD 2021-03-12 20:06:43 UTC (rev 889686)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Fredy García <frealgagu at gmail dot com>
-# Contributor: fuero <fuerob at gmail.com>
-
-pkgname=lazygit
-pkgver=0.25.1
-pkgrel=2
-pkgdesc='A simple terminal UI for git commands'
-url='https://github.com/jesseduffield/lazygit'
-arch=('x86_64')
-license=('MIT')
-depends=('git' 'glibc')
-makedepends=('go')
-source=("https://github.com/jesseduffield/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('4de157c0997a12d9161bc0c10cb65053349325f2da9005bd271361a2bee8074b')
-b2sums=('e2254ea3998f8be17f0c75d328975b30af21e1eddc070e6e1c2711b54e8a7e1a4f24d91a0eb80451480547d26c9b01ac23e43ea73d59cc4a6bcc158992c73987')
-
-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 -x -v"
-
- go build \
- -ldflags "\
- -linkmode external \
- -extldflags '${LDFLAGS}' \
- -X main.date=$(date --date=@${SOURCE_DATE_EPOCH} -u +%Y-%m-%dT%H:%M:%SZ) \
- -X main.buildSource=binaryRelease \
- -X main.version=${pkgver} \
- -X main.commit=v${pkgver} \
- "
-}
-
-package () {
- cd ${pkgname}-${pkgver}
- install -Dm 755 lazygit -t "${pkgdir}/usr/bin"
- install -Dm 644 README*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r docs/* -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: lazygit/repos/community-x86_64/PKGBUILD (from rev 889685, lazygit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-12 20:06:43 UTC (rev 889686)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Fredy García <frealgagu at gmail dot com>
+# Contributor: fuero <fuerob at gmail.com>
+
+pkgname=lazygit
+pkgver=0.25.1
+pkgrel=3
+pkgdesc='Simple terminal UI for git commands'
+url='https://github.com/jesseduffield/lazygit'
+arch=('x86_64')
+license=('MIT')
+depends=('git' 'glibc')
+makedepends=('go')
+source=("https://github.com/jesseduffield/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('4de157c0997a12d9161bc0c10cb65053349325f2da9005bd271361a2bee8074b')
+b2sums=('e2254ea3998f8be17f0c75d328975b30af21e1eddc070e6e1c2711b54e8a7e1a4f24d91a0eb80451480547d26c9b01ac23e43ea73d59cc4a6bcc158992c73987')
+
+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 -x -v"
+
+ go build \
+ -ldflags "\
+ -linkmode external \
+ -extldflags '${LDFLAGS}' \
+ -X main.date=$(date --date=@${SOURCE_DATE_EPOCH} -u +%Y-%m-%dT%H:%M:%SZ) \
+ -X main.buildSource=binaryRelease \
+ -X main.version=${pkgver} \
+ -X main.commit=v${pkgver} \
+ "
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 lazygit -t "${pkgdir}/usr/bin"
+ install -Dm 644 README*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r docs/* -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list