summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hoppe2018-01-04 12:41:53 +0100
committerMarcel Hoppe2018-01-04 12:41:53 +0100
commitfad48580b957a897961535f735e1997ae07ac762 (patch)
treea576178e2ed11a9cddf0824aec827827893947bd
parent3da6d5380bd8e5213016946c8d08e98876e1b730 (diff)
downloadaur-fad48580b957a897961535f735e1997ae07ac762.tar.gz
add the keys, remove the rvm.sh profile and the supression of output
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
-rw-r--r--rvm_init.sh9
3 files changed, 19 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7cc233aa667..dd475155ccb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Nov 3 10:33:40 UTC 2017
pkgbase = rvm
pkgdesc = RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
pkgver = 1.29.3
- pkgrel = 1
+ pkgrel = 2
url = https://rvm.io/
arch = any
license = Apache License
@@ -17,9 +15,11 @@ pkgbase = rvm
provides = ruby
conflicts = ruby
source = https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer
+ source = rvm_init.sh
source = rvm.sh
source = rvmrc
sha256sums = f6eb5b10cf6f544c5d75511fc9a34e32da2e8ff1882e0f50be13ea5a6db2b8e1
+ sha256sums = f09f9a144a3d33409c1f394d7ba37f783b8034fbd6405e8536bf9bfec87c6af0
sha256sums = 48b6e852380c9e9b8d3b3c3ce8e50d397429dd1efeee06a75e121df1a2df47e2
sha256sums = f9444e8c5817c4a59fc701b8a71cef0a7114a9dda549ad82c5800983f1a54738
diff --git a/PKGBUILD b/PKGBUILD
index e9ba92b0fbb..a0e98ec4a6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=rvm
pkgbase=${pkgname}
pkgver=1.29.3
-pkgrel=1
+pkgrel=2
pkgdesc='RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.'
arch=('any')
url="https://rvm.io/"
@@ -13,15 +13,18 @@ depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib')
provides=('rvm' 'ruby')
conflicts=('ruby')
source=("https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer"
+ "rvm_init.sh"
"rvm.sh"
"rvmrc")
sha256sums=('f6eb5b10cf6f544c5d75511fc9a34e32da2e8ff1882e0f50be13ea5a6db2b8e1'
+ 'f09f9a144a3d33409c1f394d7ba37f783b8034fbd6405e8536bf9bfec87c6af0'
'48b6e852380c9e9b8d3b3c3ce8e50d397429dd1efeee06a75e121df1a2df47e2'
'f9444e8c5817c4a59fc701b8a71cef0a7114a9dda549ad82c5800983f1a54738')
build() {
+ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
chmod +x rvm-installer
- ./rvm-installer --path $srcdir/rvm --ignore-dotfiles --version ${pkgver} >/dev/null 2>/dev/null
+ ./rvm-installer --path $srcdir/rvm --ignore-dotfiles --version ${pkgver}
}
package() {
@@ -31,7 +34,8 @@ package() {
mkdir -p "$DESTDIR"
cp -r "rvm" "$DESTDIR/"
mkdir -p "$DESTETC/profile.d"
- cp rvm.sh "$DESTETC/profile.d/"
+ cp rvm_init.sh "$DESTETC/profile.d/"
+# cp rvm.sh "$DESTETC/profile.d/"
cp rvmrc "$DESTETC/"
mkdir -p "$DESTETC/skel/.rvm"
cd "$DESTETC/skel/.rvm"
diff --git a/rvm_init.sh b/rvm_init.sh
new file mode 100644
index 00000000000..46ece183ccb
--- /dev/null
+++ b/rvm_init.sh
@@ -0,0 +1,9 @@
+#
+# RVM init profile
+#
+# copys the rvm skeleton to home if it not exists
+#
+
+if [ ! -d "$HOME/.rvm" ]; then
+ cp -r /etc/skel/.rvm "$HOME"
+fi