diff options
author | Carl Smedstad | 2024-01-26 16:28:43 +0100 |
---|---|---|
committer | Carl Smedstad | 2024-01-26 16:28:43 +0100 |
commit | b34b465161616fbcd7f28231486846d7a052ed9f (patch) | |
tree | 9b3756a056d26a65fb92d47d029a795de583d3c1 | |
parent | 76725659766af0a0570419029ba4a3f0025bad38 (diff) | |
download | aur-b34b465161616fbcd7f28231486846d7a052ed9f.tar.gz |
upgpkg: 0.2.2-6
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 12 insertions, 18 deletions
@@ -1,12 +1,12 @@ pkgbase = ruby-prawn-table pkgdesc = Provides support for tables in Prawn pkgver = 0.2.2 - pkgrel = 5 + pkgrel = 6 url = https://github.com/prawnpdf/prawn-table arch = any - license = GPL2 - license = GPL3 - license = custom:RUBY + license = GPL-2.0-only + license = GPL-3.0-only + license = Ruby checkdepends = ruby-mocha checkdepends = ruby-pdf-inspector checkdepends = ruby-rspec @@ -4,14 +4,14 @@ pkgname=ruby-prawn-table _name=${pkgname#ruby-} pkgver=0.2.2 -pkgrel=5 +pkgrel=6 pkgdesc="Provides support for tables in Prawn" arch=(any) url="https://github.com/prawnpdf/prawn-table" license=( - GPL2 - GPL3 - custom:RUBY + GPL-2.0-only + GPL-3.0-only + Ruby ) depends=( ruby @@ -57,7 +57,6 @@ prepare() { build() { cd "$_archive" - local _gemdir _gemdir="$(gem env gemdir)" gem build "$_name.gemspec" @@ -101,21 +100,16 @@ build() { check() { cd "$_archive" - # Avoid depending on rubocop - # sed --in-place '/rubocop/d' Rakefile "$_name.gemspec" - - local _gemdir _gemdir="$(gem env gemdir)" - GEM_HOME="tmp_install/$_gemdir" rspec } package() { cd "$_archive" - cp --archive --verbose tmp_install/* "$pkgdir" + cp --archive tmp_install/* "$pkgdir" - install --verbose -D --mode=0644 COPYING --target-directory "$pkgdir/usr/share/licenses/$pkgname" - install --verbose -D --mode=0644 LICENSE --target-directory "$pkgdir/usr/share/licenses/$pkgname" - install --verbose -D --mode=0644 ./*.md --target-directory "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \ + COPYING LICENSE + install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md } |