diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-18 16:31:36 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-18 16:31:36 +0100 |
commit | ea6a7e16ad7be1532875bd821e60857f33905d66 (patch) | |
tree | 4e4d7b4678911407c1f77cac8742cd95a671f578 /community/ruby-rmagick | |
parent | 840ac4ae3b54497f6839ac673b060a055fc5acc8 (diff) | |
download | aports-ea6a7e16ad7be1532875bd821e60857f33905d66.tar.bz2 aports-ea6a7e16ad7be1532875bd821e60857f33905d66.tar.xz |
redmine: move with deps to community
Diffstat (limited to 'community/ruby-rmagick')
-rw-r--r-- | community/ruby-rmagick/APKBUILD | 37 | ||||
-rw-r--r-- | community/ruby-rmagick/rmagick-2.13.2.gem | bin | 0 -> 1305088 bytes |
2 files changed, 37 insertions, 0 deletions
diff --git a/community/ruby-rmagick/APKBUILD b/community/ruby-rmagick/APKBUILD new file mode 100644 index 0000000000..a8d527a51a --- /dev/null +++ b/community/ruby-rmagick/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ruby-rmagick +_gemname=rmagick +pkgver=2.15.4 +pkgrel=0 +pkgdesc="Ruby ImageMagick interface" +url="http://rmagick.rubyforge.org" +arch="all" +license="custom" +depends="ruby ghostscript-fonts" +depends_dev="ruby-dev imagemagick-dev freetype-dev libjpeg-turbo-dev zlib-dev" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +build() { + return 0 +} + +package() { + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + local _geminstdir=$_gemdir/gems/$_gemname-$pkgver + mkdir -p "$pkgdir" || return 1 + + gem install --local --install-dir "$pkgdir"/$_gemdir \ + --ignore-dependencies --verbose --no-rdoc --no-ri \ + "$srcdir"/$_gemname-$pkgver.gem || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +md5sums="ca28bf18354103aada43bbe070c3df4d rmagick-2.15.4.gem" +sha256sums="69db6635c2630ffd63c1858646cbc280226f31a7bc34e1c9d1322c2c73e1e386 rmagick-2.15.4.gem" +sha512sums="9cb43632e510e3592e3a643117d61020d6cbec932acecc19c1e977cca001ccc04bae46669895fa2f5f0e8d43c09f1c2c429595a9358a4a74cbdbb4ecd8957b80 rmagick-2.15.4.gem" diff --git a/community/ruby-rmagick/rmagick-2.13.2.gem b/community/ruby-rmagick/rmagick-2.13.2.gem Binary files differnew file mode 100644 index 0000000000..b208397a25 --- /dev/null +++ b/community/ruby-rmagick/rmagick-2.13.2.gem |