build_style: Add gem build_style

This commit is contained in:
maxice8 2018-10-30 19:52:59 -03:00 committed by maxice8
parent e7dc19bbea
commit 49e11e1ca5
3 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,9 @@
lib32disabled=yes
hostmakedepends+=" ruby"
depends+=" ruby"
noarch=yes
# default to rubygems
if [ -z "$distfiles" ]; then
distfiles="https://rubygems.org/downloads/${pkgname#ruby-}-${version}.gem"
fi