diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-12 15:22:53 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-12 15:24:08 +0000 |
commit | fe6d294700db59d37a0768c836311b6d17908084 (patch) | |
tree | 5761a401c595f7032c68688656b679ccb9af0f0c /main/ruby-redmine-builder | |
parent | 2c3b667552f9901fc0198aa9654fbed7554827e1 (diff) | |
download | aports-fe6d294700db59d37a0768c836311b6d17908084.tar.bz2 aports-fe6d294700db59d37a0768c836311b6d17908084.tar.xz |
main/ruby-redmine-builder: new aport
Diffstat (limited to 'main/ruby-redmine-builder')
-rw-r--r-- | main/ruby-redmine-builder/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/ruby-redmine-builder/APKBUILD b/main/ruby-redmine-builder/APKBUILD new file mode 100644 index 000000000..762a0f26f --- /dev/null +++ b/main/ruby-redmine-builder/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_gemname=builder +pkgname=ruby-redmine-$_gemname +pkgver=3.0.4 +pkgrel=0 +pkgdesc="Builder objects to simplify creating structured data" +url="http://rubygems.org/gems/builder" +arch="noarch" +license="GPL" +depends="ruby" +depends_dev= +makedepends="$depends_dev ruby-gems" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_realname-$pkgver +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="a144126de456ec6519a965824ad72625 builder-3.0.4.gem" +sha256sums="a1a31cc496700003b6809f09fc2fda5d22532a1551eed48ee402ed44040cc442 builder-3.0.4.gem" +sha512sums="5709d4ede932d3eb136ba42e162a5d4a6c033a68c4bafdb68eefb6912499dc8b98716301f341e2a9471f1e9a206e4f3cdd2843bf90068ca729daafd02cccd03b builder-3.0.4.gem" |