diff options
author | Carl Smedstad | 2024-04-01 09:55:36 +0200 |
---|---|---|
committer | Carl Smedstad | 2024-04-01 09:55:36 +0200 |
commit | 1b0003873bcc65fa03d3af79bb91f4c8063efc5a (patch) | |
tree | b55caf4183d25bdf0491a369c05bb3a0f0ad99c7 /PKGBUILD | |
parent | 1394ff0c07ed0d483bcc9f79ccc26f0458507474 (diff) | |
download | aur-ruby-prawn.tar.gz |
upgpkg: 2.5.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ pkgname=ruby-prawn _pkgname=${pkgname#ruby-} pkgver=2.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="A fast and nimble PDF generator for Ruby" arch=(any) url="https://github.com/prawnpdf/prawn" @@ -15,6 +15,7 @@ license=( ) depends=( ruby + ruby-matrix ruby-pdf-core ruby-ttfunk ) @@ -34,7 +35,7 @@ prepare() { cd "$_archive" # Update gemspec/Gemfile to allow newer version of the dependencies - sed --in-place --regexp-extended 's|~>|>=|g' "$_pkgname.gemspec" + sed -i -E 's|~>|>=|g' "$_pkgname.gemspec" } build() { @@ -98,7 +99,7 @@ package() { cp -a tmp_install/* "$pkgdir" + install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \ COPYING LICENSE - install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md } |