summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2018-03-06 07:53:36 -0500
committerMario Finelli2018-03-06 07:53:36 -0500
commit8c71c8d731b99ba580ed0b1e63cbb9e225d90723 (patch)
tree32a84ef9ea04c1b61b12bd8ca325233b6249679a
parent63c7bfd5c05e295a1164a0ad97f713bc31bd0405 (diff)
downloadaur-8c71c8d731b99ba580ed0b1e63cbb9e225d90723.tar.gz
Bump to 3.10.1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 21 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51930542ee7..e35ee0e457e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,20 @@
-# Generated by mksrcinfo v8
-# Thu Jun 8 01:40:40 UTC 2017
pkgbase = capistrano
pkgdesc = A remote server automation and deployment tool written in Ruby.
- pkgver = 3.8.1
+ pkgver = 3.10.1
pkgrel = 1
url = http://capistranorb.com
arch = any
license = MIT
+ makedepends = ruby-rdoc
depends = ruby
- depends = ruby-capistrano-harrow
+ depends = ruby-rake
depends = ruby-sshkit
depends = ruby-i18n
depends = ruby-airbrussh
- noextract = capistrano-3.8.1.gem
+ noextract = capistrano-3.10.1.gem
options = !emptydirs
- source = https://rubygems.org/downloads/capistrano-3.8.1.gem
- source = https://raw.githubusercontent.com/capistrano/capistrano/v3.8.1/LICENSE.txt
- sha256sums = 3dfd6c113865fe0dee1f95c4a819ab85165a5948f25bace1559c6d272ee6ed15
- sha256sums = d18b2e881a5dfa2a913118db06f563ad24599a77887e20cf31443fdaf8d8fe6a
+ source = https://rubygems.org/downloads/capistrano-3.10.1.gem
+ sha256sums = e98a86136b7d4f1ea3b7a4d904deceeeb5433a2195069c2ece3666ac5c771d66
pkgname = capistrano
diff --git a/PKGBUILD b/PKGBUILD
index b14540c238b..4a945079f31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,31 @@
# Maintainer: Mario Finelli <mario at finel dot li>
pkgname=capistrano
-pkgver=3.8.1
+pkgver=3.10.1
pkgrel=1
pkgdesc='A remote server automation and deployment tool written in Ruby.'
arch=(any)
url='http://capistranorb.com'
license=('MIT')
-depends=(ruby ruby-capistrano-harrow ruby-sshkit ruby-i18n ruby-airbrussh)
+depends=('ruby' 'ruby-rake' 'ruby-sshkit' 'ruby-i18n' 'ruby-airbrussh')
+makedepends=('ruby-rdoc')
options=(!emptydirs)
-source=(https://rubygems.org/downloads/$pkgname-$pkgver.gem
- "https://raw.githubusercontent.com/$pkgname/$pkgname/v$pkgver/LICENSE.txt")
+source=(https://rubygems.org/downloads/$pkgname-$pkgver.gem)
noextract=($pkgname-$pkgver.gem)
-sha256sums=('3dfd6c113865fe0dee1f95c4a819ab85165a5948f25bace1559c6d272ee6ed15'
- 'd18b2e881a5dfa2a913118db06f563ad24599a77887e20cf31443fdaf8d8fe6a')
+sha256sums=('e98a86136b7d4f1ea3b7a4d904deceeeb5433a2195069c2ece3666ac5c771d66')
package() {
- cd "$srcdir"
local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" \
- -n "$pkgdir/usr/bin" $pkgname-$pkgver.gem
+ gem install \
+ --ignore-dependencies \
+ --no-user-install \
+ -i "$pkgdir/$_gemdir" \
+ -n "$pkgdir/usr/bin" \
+ $pkgname-$pkgver.gem
- install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
+
+ install -Dm0644 "$pkgdir/$_gemdir/gems/$pkgname-$pkgver/LICENSE.txt" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}