ruby/rb-tilt/rb-tilt.sh

Fri, 15 Nov 2019 20:05:00 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 15 Nov 2019 20:05:00 +0100
changeset 1207
c9592a9a949b
parent 1127
d3c6aab2de00
child 1216
6710613b88b9
permissions
-rw-r--r--

python/python2: add DEPRECATED tag

1127
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 #!/bin/sh
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 #
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 #
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 #
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 #
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
17
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
18 _GEM=tilt
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
19
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 PKGNAME=rb-tilt
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
21 PKGVERSION=2.0.9
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 PKGREVISION=1
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 PKGLICENSE="MIT"
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
24 PKGSUMMARY="generic interface to multiple Ruby template engines"
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
25 PKGDOWNLOAD="https://rubygems.org/downloads/$_GEM-$PKGVERSION.gem"
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 PKGDEPENDS="ruby"
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
27
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 build()
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
29 {
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
30 gem install -l \
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
31 --ignore-dependencies \
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
32 --no-user-install \
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 -i $DESTDIR/$(gem env gemdir) \
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
34 -n $DESTDIR/bin \
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
35 $_GEM-$PKGVERSION.gem
d3c6aab2de00 ruby/rb-tilt: initial import, closes #2366
David Demelier <markand@malikania.fr>
parents:
diff changeset
36 }

mercurial