diff options
Diffstat (limited to 'community/ruby-rmagick/APKBUILD')
-rw-r--r-- | community/ruby-rmagick/APKBUILD | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/community/ruby-rmagick/APKBUILD b/community/ruby-rmagick/APKBUILD index de7584ebc2b..a86b521ad6d 100644 --- a/community/ruby-rmagick/APKBUILD +++ b/community/ruby-rmagick/APKBUILD @@ -2,24 +2,36 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=ruby-rmagick _gemname=rmagick -pkgver=4.0.0 +pkgver=5.5.0 _pkgver=${pkgver//./-} -pkgrel=1 +pkgrel=0 pkgdesc="Ruby bindings for ImageMagick" -url="https://rmagick.github.io/" +url="https://github.com/rmagick/rmagick" arch="all" license="MIT" depends="ghostscript-fonts" -checkdepends="ruby-rake ruby-rspec" -makedepends="imagemagick6-dev ruby ruby-dev" +makedepends=" + imagemagick-dev + ruby + ruby-dev + ruby-pkg-config + " +checkdepends=" + imagemagick + imagemagick-pdf + ruby-rake + ruby-rspec + " source="https://github.com/rmagick/rmagick/archive/RMagick_$_pkgver.tar.gz gemspec.patch + spec-drop-pry.patch + dont-test-webp.patch + skip-broken-test.patch + fix-tempfile.patch " builddir="$srcdir/rmagick-RMagick_$_pkgver" build() { - cd "$builddir" - gem build $_gemname.gemspec gem install --local \ --install-dir dist \ @@ -30,8 +42,6 @@ build() { } check() { - cd "$builddir" - GEM_PATH='dist:.gem' rspec } @@ -49,5 +59,11 @@ package() { rm -r ext/ lib/*.so } -sha512sums="b0570390113c8ce8a7964c088a8e6992fb707c9b0250c1e3d69ca8e76e7ad5a20a948bbd437ef41fe88281455863bcc405ff3093136204fa5976c058b8d40e79 RMagick_4-0-0.tar.gz -a8e26195bf08f240aa892c061da562dc5dfc98543d653b821b70ea3b67575fe8eafc7324b8d64e894084947425270328e44351fc945bd5b8ea3255870c54cc3f gemspec.patch" +sha512sums=" +f813104c347867b14281b044135fd626805d35d2afa3167c25d5e31179b31e985c5cc75deb630f8a64d20b877d8c42ce13e31e137f573467d3c5f3f2453d514f RMagick_5-5-0.tar.gz +77f661ec08793f94e93a523102ba3b30ea4d4c65632694b6e1babcc00b4cad69a9d78c8401f2c57c3e92bfcbfc00dd97694c51017d17c846c9727f406ff200bd gemspec.patch +6550535ebaf3924b9f707da395eeaec630e5db50e1964ab9f84d2f941d97c7c49eb7dff05439efa355abb97e72556385b26b8af1d86e05b7c12fd8f2f781834a spec-drop-pry.patch +5eeea508d44f2c9679fe4fe3d5b9a51470f8022537f5822f85c95dbd4d78149c2cada763f0bdf3e86523770b0b758117a6d216b240c92f54253905c19d38d064 dont-test-webp.patch +3e10aae2b9c452409c34b38f005b922aa91119a44b260d192f1a03bcbd7e90a7ea6e01ec65bc331bdd19457490296a36af75008fcdbbee086f2ea169b48fa1af skip-broken-test.patch +c661ca0c22d93795e5c2c89bbac7cb577b4bc32ec2cb4906cb49a6fa2d109a429d963fea7089d04c4750531f2c0c5a77eee1998db0741520dc81f0c5cfb04d8b fix-tempfile.patch +" |