aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-roadie/APKBUILD
blob: 7327ad19f3805db27e6140c0896753b8ffb0cacf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"