summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Bashmakov2020-06-02 15:15:11 +0300
committerAnatoly Bashmakov2020-06-02 15:15:11 +0300
commitb3cfc96aa98fc694bd6875dedc7868117b9894d9 (patch)
tree069f98a2649a23aa42491934c0ff245e41da4d29
parente81c72956b6381fda857c5f48b665ff812c7ae12 (diff)
downloadaur-b3cfc96aa98fc694bd6875dedc7868117b9894d9.tar.gz
Fix license naming.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ad999802e5..6360f42d71e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = ruby-prawn-table
pkgdesc = Provides tables for PrawnPDF
pkgver = 0.2.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/prawnpdf/prawn-table
arch = any
license = RUBY
- license = GPL-2
- license = GPL-3
+ license = GPL2
+ license = GPL3
depends = ruby
depends = ruby-prawn
noextract = prawn-table-0.2.2.gem
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"