void-packages/srcpkgs/retroshare/template
2016-02-09 09:16:07 +01:00

27 lines
1.3 KiB
Bash

# Template file for 'retroshare'
pkgname=retroshare
version=0.6.0.RC2
revision=2
homepage="http://retroshare.sourceforge.net/"
short_desc="A Decentralized Social Sharing Network"
maintainer="Abel Vdo <vdo@greyfaze.net>"
license="GPL-3"
hostmakedepends="pkg-config qt-qmake"
makedepends="qt-devel libressl-devel libssh-devel zlib-devel bzip2-devel sqlite-devel libupnp-devel libgnome-keyring-devel libmicrohttpd-devel sqlcipher-devel libXScrnSaver-devel libxslt-devel libcurl-devel"
distfiles="${SOURCEFORGE_SITE}/retroshare/RetroShare/0.6.0-rc2/${pkgname}_${version}~8551_src.tgz"
checksum="2320676da905de6c48b01eda611811965277ffa1d5ddbb387aa8f0414c2de050"
depends="qt"
build_style=qmake
wrksrc="retroshare06-0.6.0"
build_wrksrc="src"
patch_args="-Np1"
post_install() {
cd ${wrksrc}
vbin src/retroshare-gui/src/RetroShare retroshare
vbin src/retroshare-nogui/src/retroshare-nogui retroshare-nogui
vinstall src/plugins/FeedReader/libFeedReader.so 755 usr/lib/retroshare/extensions6/
vinstall src/retroshare-gui/src/gui/images/logo/logo_512.png 644 usr/share/pixmaps/ retroshare.png
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications/
vinstall src//libbitdht/src/bitdht/bdboot.txt 644 usr/share/RetroShare06/
vcopy src/retroshare-gui/src/qss usr/share/RetroShare06/
}