diff options
Diffstat (limited to 'network/retroshare/retroshare.SlackBuild')
-rw-r--r-- | network/retroshare/retroshare.SlackBuild | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/network/retroshare/retroshare.SlackBuild b/network/retroshare/retroshare.SlackBuild index 1e0cf2570c..32cfbef310 100644 --- a/network/retroshare/retroshare.SlackBuild +++ b/network/retroshare/retroshare.SlackBuild @@ -18,9 +18,8 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PKGNAM=retroshare -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.6.1} BUILD=${BUILD:-1} -RC=RC2 # RC of the retroshare VERSION, if release, make it clean TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -50,11 +49,10 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/v$VERSION-RC2.tar.gz -cd RetroShare-$VERSION-RC2 +tar xvf $CWD/$VERSION.tar.gz +cd RetroShare-$VERSION # delete all plugins rm -rf plugins -cat $CWD/RetroShare.pro.patch | patch -p0 chown -R root:root . find -L . \ @@ -63,16 +61,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -qmake CONFIG+=retroshare-gui && make clean && make - -install -D -m 755 retroshare-gui/src/RetroShare $PKG/usr/bin/RetroShare -install -D -m 755 retroshare-nogui/src/retroshare-nogui $PKG/usr/bin/$PKGNAM-nogui - -install -D -m 644 build_scripts/Debian+Ubuntu/data/retroshare.desktop $PKG/usr/share/applications/$PKGNAM.desktop -install -D -m 644 build_scripts/Debian+Ubuntu/data/retroshare.png $PKG/usr/share/pixmaps/$PKGNAM.png -install -D -m 644 build_scripts/Debian+Ubuntu/data/retroshare.xpm $PKG/usr/share/pixmaps/$PKGNAM.xpm -install -D -m 644 libbitdht/src/bitdht/bdboot.txt $PKG/usr/share/RetroShare/bdboot.txt -cp -R retroshare-gui/src/qss $PKG/usr/share/RetroShare +qmake PREFIX=/usr LIB_DIR=/usr/lib${LIBDIRSUFFIX} "CONFIG-=debug" "CONFIG+=release" +make +make INSTALL_ROOT=${PKG} install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |