diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-29 00:42:50 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-29 00:42:50 +0200 |
commit | d3fb126a8080da98fc2e820f7f09fd26da165a30 (patch) | |
tree | 1611b1aece4382cfab50afe2e518ab9c36bce963 /community | |
parent | 61eed5723b8e09a70376036691cb5cd0073904f5 (diff) | |
download | aports-d3fb126a8080da98fc2e820f7f09fd26da165a30.tar.bz2 aports-d3fb126a8080da98fc2e820f7f09fd26da165a30.tar.xz |
community/ruby-mini_portile2: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/ruby-mini_portile2/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/ruby-mini_portile2/APKBUILD b/community/ruby-mini_portile2/APKBUILD new file mode 100644 index 0000000000..0f938f05a7 --- /dev/null +++ b/community/ruby-mini_portile2/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Seung Soo Mun <hamletmun@gmail.com> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=ruby-mini_portile2 +_gemname=${pkgname#ruby-} +pkgver=2.1.0 +pkgrel=0 +pkgdesc="Simplistic port-like solution for developers" +url="https://github.com/flavorjones/mini_portile" +arch="noarch" +license="MIT" +depends="ruby" +source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" +options="!check" # FIXME + +package() { + local gemdir="$pkgdir/$(ruby -rubygems -e 'puts Gem.default_dir')" + local geminstdir="$gemdir/gems/$_gemname-$pkgver" + + gem install \ + --local \ + --install-dir "$gemdir" \ + --ignore-dependencies \ + --no-document \ + --verbose \ + "$srcdir"/$_gemname-$pkgver.gem + + rm -rf "$gemdir"/cache \ + "$geminstdir"/test \ + "$geminstdir"/*.md \ + "$geminstdir"/*.txt \ + "$geminstdir"/*.yml +} + +sha512sums="175ba73cccaf25daa89fb4c9054c4be1951e912bcb7b226a847aef6fca0ca08aa2568f225cc15a70e122b0c3355dd9c09b93505c3b3acd2c03e36941e2923dc8 mini_portile2-2.1.0.gem" |