[arch-commits] Commit in duf/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Jan 8 11:05:46 UTC 2022
Date: Saturday, January 8, 2022 @ 11:05:45
Author: alerque
Revision: 1096999
archrelease: copy trunk to community-x86_64
Added:
duf/repos/community-x86_64/PKGBUILD
(from rev 1096998, duf/trunk/PKGBUILD)
Deleted:
duf/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-08 11:04:55 UTC (rev 1096998)
+++ PKGBUILD 2022-01-08 11:05:45 UTC (rev 1096999)
@@ -1,38 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Christian Muehlhaeuser <muesli at gmail dot com>
-
-pkgname=duf
-pkgver=0.6.2
-pkgrel=3
-pkgdesc='Disk Usage/Free Utility'
-arch=(x86_64)
-url="https://github.com/muesli/$pkgname"
-license=(MIT)
-depends=(glibc)
-makedepends=(git
- go)
-_archive="$pkgname-$pkgver"
-source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('f2314d8e5e133a6ce93968b3450c1710a3e432cb4a5dfc528aa0317d968a8988')
-
-build() {
- local commit=$(zcat $_archive.tar.gz | git get-tar-commit-id)
- local extraflags="-X main.Version=$pkgver -X main.CommitSHA=$commit"
- export CGO_CPPFLAGS="$CPPFLAGS"
- export CGO_CFLAGS="$CFLAGS"
- export CGO_CXXFLAGS="$CXXFLAGS"
- cd "$_archive"
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-linkmode external $extraflags -extldflags \"$LDFLAGS\"" \
- -o "$pkgname" .
-}
-
-package() {
- cd "$_archive"
- install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: duf/repos/community-x86_64/PKGBUILD (from rev 1096998, duf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-08 11:05:45 UTC (rev 1096999)
@@ -0,0 +1,39 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Christian Muehlhaeuser <muesli at gmail dot com>
+
+pkgname=duf
+pkgver=0.7.0
+pkgrel=1
+pkgdesc='Disk Usage/Free Utility'
+arch=(x86_64)
+url="https://github.com/muesli/$pkgname"
+license=(MIT)
+depends=(glibc)
+makedepends=(git
+ go)
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('6f70fd0f0d51bfcfe20b8acc8c3a52573fc1ceed44ce97dbbb9d470bbe4467dc')
+
+build() {
+ local commit=$(zcat ${source[1]##*/} | git get-tar-commit-id)
+ local extraflags="-X main.Version=$pkgver -X main.CommitSHA=$commit"
+ export CGO_CPPFLAGS="$CPPFLAGS"
+ export CGO_CFLAGS="$CFLAGS"
+ export CGO_CXXFLAGS="$CXXFLAGS"
+ cd "$_archive"
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-linkmode external $extraflags -extldflags \"$LDFLAGS\"" \
+ -o "$pkgname" .
+}
+
+package() {
+ cd "$_archive"
+ install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname"
+ install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "$pkgname.1"
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
More information about the arch-commits
mailing list