ruby/rb-mail/rb-mail.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 1139
998d23ee8d4a
child 1216
6710613b88b9
permissions
-rw-r--r--

python/python2: add DEPRECATED tag

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

mercurial