summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Smith2019-05-01 17:03:59 -0600
committerAdrien Smith2019-05-04 12:23:01 -0600
commit68fe797f86d069b2c70d707166e48a5d88219068 (patch)
tree65985071b921750d2526033c0e3bb2e8ecd75e52
parentcf2bb4c8d676d0ffb1a4f60a5030c9e4f9cc2c1c (diff)
downloadaur-68fe797f86d069b2c70d707166e48a5d88219068.tar.gz
Improve PKGBUILD some
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD17
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e526ad2989..35b965476a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = direnv
pkgdesc = a shell extension that manages your environment
pkgver = 2.20.1
pkgrel = 2
- url = http://direnv.net
+ url = https://direnv.net
arch = x86_64
arch = i686
arch = armv7h
diff --git a/PKGBUILD b/PKGBUILD
index 65b24598c57..43feb867b2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,37 @@
# Maintainer: zimbatm <zimbatm@zimbatm.com>
+# Maintainer: ShadowKyogre <shadowkyogre.public+aur@gmail.com>
+# Maintainer: rmorgans <rick.morgans@gmail.com>
pkgname=direnv
pkgver=2.20.1
pkgrel=2
pkgdesc='a shell extension that manages your environment'
arch=('x86_64' 'i686' 'armv7h')
-url='http://direnv.net'
+url='https://direnv.net'
license=('MIT')
makedepends=('go')
source=("$pkgname-$pkgver.tar.gz::https://github.com/direnv/direnv/archive/v$pkgver.tar.gz")
+sha256sums=('dd54393661602bb989ee880f14c41f7a7b47a153777999509127459edae52e47')
-gopackagepath=github.com/direnv/direnv
+_gopackagepath=github.com/direnv/direnv
prepare() {
[[ -f /etc/profile.d/go.sh ]] && source /etc/profile.d/go.sh
export GOPATH=$srcdir/go
- mkdir -p "$GOPATH/src/$(dirname "$gopackagepath")"
- mv "$srcdir/$pkgname-$pkgver" "$GOPATH/src/$gopackagepath"
+ mkdir -p "$GOPATH/src/$(dirname "$_gopackagepath")"
+ mv "$srcdir/$pkgname-$pkgver" "$GOPATH/src/$_gopackagepath"
}
build() {
export GOPATH=$srcdir/go
- cd "$GOPATH/src/$gopackagepath"
+ cd "$GOPATH/src/$_gopackagepath"
make
}
package() {
export GOPATH=$srcdir/go
- cd "$GOPATH/src/$gopackagepath"
+ cd "$GOPATH/src/$_gopackagepath"
make install DESTDIR=$pkgdir/usr
}
# vim:set ts=2 sw=2 et:
-
-sha256sums=('dd54393661602bb989ee880f14c41f7a7b47a153777999509127459edae52e47')