[arch-commits] Commit in git-sizer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Tue Nov 16 18:08:17 UTC 2021
Date: Tuesday, November 16, 2021 @ 18:08:16
Author: alerque
Revision: 1048829
archrelease: copy trunk to community-x86_64
Added:
git-sizer/repos/community-x86_64/PKGBUILD
(from rev 1048828, git-sizer/trunk/PKGBUILD)
Deleted:
git-sizer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 18:06:31 UTC (rev 1048828)
+++ PKGBUILD 2021-11-16 18:08:16 UTC (rev 1048829)
@@ -1,45 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: AUR[ogarcia]
-
-pkgname=git-sizer
-pkgver=1.4.0
-pkgrel=2
-pkgdesc='Compute various size metrics for a Git repository'
-arch=(x86_64 i686 armv6h armv7h aarch64)
-url="https://github.com/github/$pkgname"
-license=(MIT)
-depends=(git)
-makedepends=(go)
-_archive="$pkgname-$pkgver"
-source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('5dafc4014d6bfae40e678d72c0a67a29cd9ac7b38a0894fc75ab8c05a9064a4b')
-
-build() {
- cd "$_archive"
- export CGO_CPPFLAGS="$CPPFLAGS"
- export CGO_CFLAGS="$CFLAGS"
- export CGO_CXXFLAGS="$CXXFLAGS"
- export CGO_LDFLAGS="$LDFLAGS"
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags="-X main.BuildVersion=$pkgver -linkmode external" \
- -o . ./...
-}
-
-# Note: Upstream tests seem to do goofy things like assume a terminal, if
-# anybody knows how to run these so they work in a chroot build properly I'm
-# open to contributions.
-check() {
- cd "$_archive"
- # go test ./...
-}
-
-package() {
- cd "$_archive"
- install -Dm0755 -t "$pkgdir/usr/bin/" git-sizer
- install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
-}
Copied: git-sizer/repos/community-x86_64/PKGBUILD (from rev 1048828, git-sizer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-16 18:08:16 UTC (rev 1048829)
@@ -0,0 +1,45 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: AUR[ogarcia]
+
+pkgname=git-sizer
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Compute various size metrics for a Git repository'
+arch=(x86_64 i686 armv6h armv7h aarch64)
+url="https://github.com/github/$pkgname"
+license=(MIT)
+depends=(git)
+makedepends=(go)
+_archive="$pkgname-$pkgver"
+source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('07a5ac5f30401a17d164a6be8d52d3d474ee9c3fb7f60fd83a617af9f7e902bb')
+
+build() {
+ cd "$_archive"
+ export CGO_CPPFLAGS="$CPPFLAGS"
+ export CGO_CFLAGS="$CFLAGS"
+ export CGO_CXXFLAGS="$CXXFLAGS"
+ export CGO_LDFLAGS="$LDFLAGS"
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags="-X main.BuildVersion=$pkgver -linkmode external" \
+ -o . ./...
+}
+
+# Note: Upstream tests seem to do goofy things like assume a terminal, if
+# anybody knows how to run these so they work in a chroot build properly I'm
+# open to contributions.
+check() {
+ cd "$_archive"
+ # go test ./...
+}
+
+package() {
+ cd "$_archive"
+ install -Dm0755 -t "$pkgdir/usr/bin/" git-sizer
+ install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
+}
More information about the arch-commits
mailing list