diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-18 15:52:04 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-18 16:26:13 +0100 |
commit | 2b560f029ab039cfb3a83336f26b49deb7701078 (patch) | |
tree | ffe3a6a7a939a6285951e11cbbe8963b4c151ba1 /community | |
parent | df52dff2b3dd2034ebbdbcfb54eb24295cb7e56d (diff) | |
download | aports-2b560f029ab039cfb3a83336f26b49deb7701078.tar.bz2 aports-2b560f029ab039cfb3a83336f26b49deb7701078.tar.xz |
community/ruby-roadie: new aport
Diffstat (limited to 'community')
-rw-r--r-- | community/ruby-roadie/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/ruby-roadie/APKBUILD b/community/ruby-roadie/APKBUILD new file mode 100644 index 0000000000..7327ad19f3 --- /dev/null +++ b/community/ruby-roadie/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ruby-roadie +_gemname=roadie +pkgver=3.1.1 +pkgrel=0 +pkgdesc="Making HTML emails comfortable for the Ruby rockstars" +url="https://github.com/Mange/roadie" +arch="noarch" +license="MIT" +depends="ruby ruby-css_parser ruby-nokogiri" +depends_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="a5b05077cb7acbc21033a768c47e1d64 roadie-3.1.1.gem" +sha256sums="2589cd3242456a40f7eee2c05f73fa752b429d38a0ef201f7c3cd527a3a61a9f roadie-3.1.1.gem" +sha512sums="f651bb823cf3dae7f69ef52774e5f3004bec177ca3e6eef6153cd8332371968316d35d2befe1122ed862d4bfba214f045052d417499eb6b3d18bdde8de006955 roadie-3.1.1.gem" |