[arch-commits] Commit in direnv/repos/community-x86_64 (PKGBUILD PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Sat Dec 25 06:00:59 UTC 2021


    Date: Saturday, December 25, 2021 @ 06:00:57
  Author: grawlinson
Revision: 1083532

archrelease: copy trunk to community-x86_64

Added:
  direnv/repos/community-x86_64/PKGBUILD
    (from rev 1083531, direnv/trunk/PKGBUILD)
Deleted:
  direnv/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  148 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 74 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-25 06:00:13 UTC (rev 1083531)
+++ PKGBUILD	2021-12-25 06:00:57 UTC (rev 1083532)
@@ -1,74 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: zimbatm <zimbatm at zimbatm.com>
-# Contributor: ShadowKyogre <shadowkyogre.public+aur at gmail.com>
-# Contributor: rmorgans <rick.morgans at gmail.com>
-
-pkgname=direnv
-pkgver=2.30.0
-pkgrel=1
-pkgdesc='A shell extension that manages your environment'
-arch=('x86_64')
-url="https://direnv.net"
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-checkdepends=('zsh' 'fish' 'bash' 'tcsh' 'elvish')
-options=('!lto')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/direnv/direnv/archive/v$pkgver.tar.gz")
-sha512sums=('b6687556e0611a061a003b5411971c876c4f29ba5c7d299b69352334a7ebcfa9810d5140d1a776c814ec195834712ca167a560c81a12f6c8fd0f42ed34483013')
-b2sums=('5006234ccbc90571d43ef385511b38fe154ce85c0aadeef9ae33821c35bcbc64aa0ef13885053cdcde89a0c145d4b545302e095b04db1ad55ba577d88e159f4c')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # download dependencies
-  go mod download
-}
-build() {
-  cd "$pkgname-$pkgver"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
-    .
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  # run go tests
-  go test -v ./...
-
-  # run shell-specific tests
-  bash ./test/direnv-test.bash
-  elvish ./test/direnv-test.elv
-  fish ./test/direnv-test.fish
-  tcsh -e ./test/direnv-test.tcsh
-  zsh ./test/direnv-test.zsh
-
-  # run stdlib tests
-  ./test/stdlib.bash
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" "$pkgname"
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/man/man1" man/*.1
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname/docs" docs/*
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: direnv/repos/community-x86_64/PKGBUILD (from rev 1083531, direnv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-25 06:00:57 UTC (rev 1083532)
@@ -0,0 +1,74 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: zimbatm <zimbatm at zimbatm.com>
+# Contributor: ShadowKyogre <shadowkyogre.public+aur at gmail.com>
+# Contributor: rmorgans <rick.morgans at gmail.com>
+
+pkgname=direnv
+pkgver=2.30.1
+pkgrel=1
+pkgdesc='A shell extension that manages your environment'
+arch=('x86_64')
+url="https://direnv.net"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+checkdepends=('zsh' 'fish' 'bash' 'tcsh' 'elvish')
+options=('!lto')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/direnv/direnv/archive/v$pkgver.tar.gz")
+sha512sums=('0db119510f5a773a4e15c32d1296080e6670d2da922f8d90b04beb6e947b19ada99593c215c1e9c3c504f21826a27f4a0666d89aa999ad87488b41f35f25a7ab')
+b2sums=('a3030e88d472091861214b251b2801b6770caddc167ec2334bdd81fdaa83ab0f5cb1c0c3ff113b44e885aff67579ae2e8c3c062a31dc49d59b11a55821960017')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # download dependencies
+  go mod download
+}
+build() {
+  cd "$pkgname-$pkgver"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
+    .
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+
+  # run go tests
+  go test -v ./...
+
+  # run shell-specific tests
+  bash ./test/direnv-test.bash
+  elvish ./test/direnv-test.elv
+  fish ./test/direnv-test.fish
+  tcsh -e ./test/direnv-test.tcsh
+  zsh ./test/direnv-test.zsh
+
+  # run stdlib tests
+  ./test/stdlib.bash
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/man/man1" man/*.1
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname/docs" docs/*
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



More information about the arch-commits mailing list