summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatěj Grabovský2016-03-17 19:56:32 +0100
committerMatěj Grabovský2016-03-17 19:56:32 +0100
commit3b1a6bf1e1145e88954ed2ca32dd9ef5c7dd9fda (patch)
treed6ddcd967bd59ab8f8af67e9f35908b4495ac463 /PKGBUILD
parent94c87217d6a224c4898a81c893f8a01695b9873d (diff)
downloadaur-3b1a6bf1e1145e88954ed2ca32dd9ef5c7dd9fda.tar.gz
Fix PKGBUILD
Licence file is not bundled, do not try to copy it
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f1318d9f419..e142e12e1b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_gemname=rails-html-sanitizer
pkgname=ruby-$_gemname
pkgver=1.0.3
-pkgrel=2
+pkgrel=3
pkgdesc='HTML sanitization for Rails applications'
arch=(any)
url='https://github.com/rails/rails-html-sanitizer'
@@ -19,6 +19,5 @@ package() {
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" \
-n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
- install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/MIT-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE"
}