summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Wadley2019-03-25 08:34:49 -0500
committerTom Wadley2019-03-25 08:34:49 -0500
commit6da51aa846525811ce9141dbeb49ca95383b5b9d (patch)
treec73fe0e337f3338b84b18225542707750245f9e3
parent95a93f91df964680ef3b1e8d5a3c2c54e93a8743 (diff)
downloadaur-6da51aa846525811ce9141dbeb49ca95383b5b9d.tar.gz
Use unique filename for downloaded source to support custom SRCDEST
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c6e836a5241..f399c5523f4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = nvm
pkgdesc = Node Version Manager - Simple bash script to manage multiple active node.js versions
pkgver = 0.34.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/creationix/nvm
install = nvm.install
arch = any
license = MIT
optdepends = bash: bash completion
- source = https://github.com/creationix/nvm/archive/v0.34.0.zip
+ source = nvm-0.34.0.zip::https://github.com/creationix/nvm/archive/v0.34.0.zip
source = init-nvm.sh
source = install-nvm-exec
sha256sums = 7785788fadae495cd65c7612f4b4ed16955048eaebfe69a6009e5e3265b280f0
diff --git a/PKGBUILD b/PKGBUILD
index fe4253550d8..e2df5348524 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=nvm
pkgver=0.34.0
-pkgrel=2
+pkgrel=3
pkgdesc="Node Version Manager - Simple bash script to manage multiple active node.js versions"
url="https://github.com/creationix/nvm"
arch=('any')
license=('MIT')
optdepends=('bash: bash completion')
install="${pkgname}.install"
-source=("https://github.com/creationix/nvm/archive/v${pkgver}.zip"
+source=("${pkgname}-${pkgver}.zip::https://github.com/creationix/nvm/archive/v${pkgver}.zip"
"init-nvm.sh"
"install-nvm-exec")
sha256sums=('7785788fadae495cd65c7612f4b4ed16955048eaebfe69a6009e5e3265b280f0'