1 # Maintainer: JHeaton <jheaton at archlinux dot us>
2 # Maintainer: Tristero <tristero@online.de>
9 pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail."
10 arch=('i686' 'x86_64')
11 url="http://retroshare.sourceforge.net/"
12 license=('LGPL' 'GPL')
13 depends=('qt' 'openssl' 'libupnp' 'gpgme' 'libgnome-keyring' 'mesa' 'libxss')
14 install="${pkgname}.install"
16 source=(http://sourceforge.net/projects/retroshare/files/RetroShare/${pkgver}/RetroShare-v${pkgver}.tar.gz/download \
21 # NOTE Setting this to TRUE activates the compilation and packaging
22 # of the plugins which are not yet officially released.
23 local _USE_PLUGINS=FALSE
25 # NOTE Setting this to TRUE activates the compilation and packaging
27 local _USE_NOGUI=FALSE
31 msg "Compile libbitdht"
32 cd ${srcdir}/trunk/libbitdht/src
36 msg "Compile libretroshare"
37 cd ${srcdir}/trunk/libretroshare/src
41 if [ "x$_USE_PLUGINS" == "xTRUE" ] ; then
43 msg "Compile retroshare plugins"
44 cd ${srcdir}/trunk/plugins
47 cd ${srcdir}/trunk/plugins/ColorCode_plugin
50 cd ${srcdir}/trunk/plugins/i2pmessenger_plugin
53 cd ${srcdir}/trunk/plugins/patience_plugin/Patience
56 cd ${srcdir}/trunk/plugins/qsolocards_plugin
59 cd ${srcdir}/trunk/plugins/smplayer_plugin
62 cd ${srcdir}/trunk/plugins/stegosaurus_plugin
67 msg "Compile retroshare-gui"
68 cd ${srcdir}/trunk/retroshare-gui/src
72 if [ "x$_USE_NOGUI" == "xTRUE" ] ; then
74 msg "Compile retroshare-nogui"
75 cd ${srcdir}/trunk/retroshare-nogui/src
80 # --- Install Files ---
82 msg "Install files to fakeroot-environment"
86 "${srcdir}/trunk/libbitdht/src/lib/libbitdht.a" \
87 "${pkgdir}/usr/lib/libbitdht.a"
89 "${srcdir}/trunk/libretroshare/src/lib/libretroshare.a" \
90 "${pkgdir}/usr/lib/libretroshare.a"
92 "${srcdir}/trunk/retroshare-gui/src/RetroShare" \
93 "${pkgdir}/usr/bin/${pkgname}"
95 if [ "x$_USE_NOGUI" == "xTRUE" ] ; then
97 "${srcdir}/trunk/retroshare-nogui/src/retroshare-nogui" \
98 "${pkgdir}/usr/bin/${pkgname}-nogui"
103 if [ "x$_USE_PLUGINS" == "xTRUE" ] ; then
106 "${srcdir}/trunk/plugins/bin/libcalendar_plugin.so" \
107 "${pkgdir}/usr/lib/retroshare/plugins/libcalendar_plugin.so"
109 "${srcdir}/trunk/plugins/bin/libcolorcode_plugin.so" \
110 "${pkgdir}/usr/lib/retroshare/plugins/libcolorcode_plugin.so"
112 "${srcdir}/trunk/plugins/bin/libi2pmessenger_plugin.so" \
113 "${pkgdir}/usr/lib/retroshare/plugins/libi2pmessenger_plugin.so"
115 "${srcdir}/trunk/plugins/bin/libpatience_plugin.so" \
116 "${pkgdir}/usr/lib/retroshare/plugins/libpatience_plugin.so"
118 "${srcdir}/trunk/plugins/bin/libpuzzle_plugin.so" \
119 "${pkgdir}/usr/lib/retroshare/plugins/libpuzzle_plugin.so"
121 "${srcdir}/trunk/plugins/bin/libqcheckers_plugin.so" \
122 "${pkgdir}/usr/lib/retroshare/plugins/libqcheckers_plugin.so"
124 "${srcdir}/trunk/plugins/bin/libqdiagram_plugin.so" \
125 "${pkgdir}/usr/lib/retroshare/plugins/libqdiagram_plugin.so"
127 "${srcdir}/trunk/plugins/bin/libqsolocards_plugin.so" \
128 "${pkgdir}/usr/lib/retroshare/plugins/libqsolocards_plugin.so"
130 "${srcdir}/trunk/plugins/bin/libsmplayer_plugin.so" \
131 "${pkgdir}/usr/lib/retroshare/plugins/libsmplayer_plugin.so"
133 "${srcdir}/trunk/plugins/bin/libstegosaurus_plugin.so" \
134 "${pkgdir}/usr/lib/retroshare/plugins/libstegosaurus_plugin.so"
139 "${srcdir}/trunk/retroshare-gui/src/gui/images/retrosharelogo1.png" \
140 "${pkgdir}/usr/share/pixmaps/retroshare_blue.png"
142 "${srcdir}/trunk/retroshare-gui/src/gui/images/retrosharelogo2.png" \
143 "${pkgdir}/usr/share/pixmaps/retroshare.png"
147 "${srcdir}/${pkgname}.desktop" \
148 "${pkgdir}/usr/share/applications/${pkgname}.desktop"
150 md5sums=('8253e516ec2378ede39a46e9f0a4461a'
151 'f6dc374d95c775bc587ef13841abdab2')