summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatěj Grabovský2019-02-07 12:08:50 +0100
committerMatěj Grabovský2019-02-07 12:08:50 +0100
commite7bf923c235e2f3dfc7a29fd18bc6cc9eac84dbb (patch)
treef3b95d30467529f3082e9f94a1317f991feaf811 /PKGBUILD
parent3b1a6bf1e1145e88954ed2ca32dd9ef5c7dd9fda (diff)
downloadaur-ruby-rails-html-sanitizer.tar.gz
Update to 1.0.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e142e12e1b8..77bff051ba8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_gemname=rails-html-sanitizer
pkgname=ruby-$_gemname
-pkgver=1.0.3
-pkgrel=3
+pkgver=1.0.4
+pkgrel=1
pkgdesc='HTML sanitization for Rails applications'
arch=(any)
url='https://github.com/rails/rails-html-sanitizer'
@@ -12,12 +12,12 @@ depends=(ruby ruby-loofah)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
-sha1sums=('9c84dca57b521ff92fbdceba1de959db539e4c19')
+sha256sums=('99cbc3d267856f6731663e654140be298393b1ee966027efab5dbcd44ade67bf')
package() {
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" \
- -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
- rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" \
+ -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
}