Mercurial > vanilla
comparison ruby/rb-coderay/rb-coderay.sh @ 1222:325631424c65
misc: bring back build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 27 Oct 2021 11:32:16 +0200 |
parents | a47aaf9743a0 |
children | 9867e578b1a9 |
comparison
equal
deleted
inserted
replaced
1221:a47aaf9743a0 | 1222:325631424c65 |
---|---|
23 PKGLICENSE="MIT" | 23 PKGLICENSE="MIT" |
24 PKGSUMMARY="fast and easy syntax highlighting" | 24 PKGSUMMARY="fast and easy syntax highlighting" |
25 PKGDOWNLOAD="https://rubygems.org/downloads/$_GEM-$PKGVERSION.gem" | 25 PKGDOWNLOAD="https://rubygems.org/downloads/$_GEM-$PKGVERSION.gem" |
26 PKGDEPENDS="ruby" | 26 PKGDEPENDS="ruby" |
27 | 27 |
28 gem install -l \ | 28 build() |
29 --ignore-dependencies \ | 29 { |
30 --no-user-install \ | 30 gem install -l \ |
31 -i $DESTDIR/$(gem env gemdir) \ | 31 --ignore-dependencies \ |
32 -n $DESTDIR/bin \ | 32 --no-user-install \ |
33 $_GEM-$PKGVERSION.gem | 33 -i $DESTDIR/$(gem env gemdir) \ |
34 -n $DESTDIR/bin \ | |
35 $_GEM-$PKGVERSION.gem | |
36 } |