summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnatoly Bashmakov2020-06-02 15:15:11 +0300
committerAnatoly Bashmakov2020-06-02 15:15:11 +0300
commitb3cfc96aa98fc694bd6875dedc7868117b9894d9 (patch)
tree069f98a2649a23aa42491934c0ff245e41da4d29 /PKGBUILD
parente81c72956b6381fda857c5f48b665ff812c7ae12 (diff)
downloadaur-b3cfc96aa98fc694bd6875dedc7868117b9894d9.tar.gz
Fix license naming.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 29cac583bb5..f1ad039829c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,11 +4,11 @@
_gemname=prawn-table
pkgname=ruby-$_gemname
pkgver=0.2.2
-pkgrel=1
+pkgrel=2
pkgdesc='Provides tables for PrawnPDF'
arch=(any)
url='https://github.com/prawnpdf/prawn-table'
-license=(RUBY GPL-2 GPL-3)
+license=(RUBY GPL2 GPL3)
depends=(ruby ruby-prawn)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
@@ -16,7 +16,7 @@ noextract=($_gemname-$pkgver.gem)
sha1sums=('0db902ddbb158fda2a7c2e44ef35b3505f4de4ba')
package() {
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ 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"
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"