diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -3,7 +3,7 @@ _gemname=rubocop pkgname=ruby-${_gemname} -pkgver=1.26.0 +pkgver=1.26.1 pkgrel=1 pkgdesc="A Ruby static code analyzer and formatter" arch=(any) @@ -35,12 +35,17 @@ makedepends=(rubygems ruby-rdoc) url=https://rubocop.org license=(MIT) options=(!emptydirs) -source=(https://github.com/rubocop/rubocop/archive/v$pkgver/$_gemname-$pkgver.tar.gz) -sha256sums=('16c4dd3511013c421fc4882da05826dca5acd48741c1e615880510ba279e8c46') +source=(https://github.com/rubocop/rubocop/archive/v$pkgver/$_gemname-$pkgver.tar.gz + https://github.com/rubocop/rubocop/commit/2b434c5d823442cb0ec0a982438140df59336f37.patch) +sha256sums=('888dd9c15453e4aa0c02bd83e9292042aff86d3190c2da6b929ed04db037b9d7' + '84858c0c4507d2ee932aa3458243de727a3f9ee1c828a199099334f7ade4fbcf') prepare() { cd $_gemname-$pkgver + # fix a broken test about the changelog + patch -p1 -N -i "$srcdir/2b434c5d823442cb0ec0a982438140df59336f37.patch" + sed -i 's|~>|>=|g' ${_gemname}.gemspec sed -i '/memory_profiler/d' Gemfile |