diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-02-23 17:46:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-24 06:55:40 +0700 |
commit | 23a92403a0abe7208624b73deadb1046869eaa99 (patch) | |
tree | 1d91e95d12e91ee1a90aa642448716cc657889a3 /network | |
parent | e9261609f3d7fda51ac31cb46f92b3d2dddecd2e (diff) |
network/purple-facebook: Updated for version 0.9.5 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/purple-facebook/README | 10 | ||||
-rw-r--r-- | network/purple-facebook/purple-facebook.SlackBuild | 38 | ||||
-rw-r--r-- | network/purple-facebook/purple-facebook.info | 12 | ||||
-rw-r--r-- | network/purple-facebook/slack-desc | 12 |
4 files changed, 43 insertions, 29 deletions
diff --git a/network/purple-facebook/README b/network/purple-facebook/README index 0c8bd84bd2f28..c945ebee1844f 100644 --- a/network/purple-facebook/README +++ b/network/purple-facebook/README @@ -1,5 +1,7 @@ -purple-facebook (Facebook Chat for Pidgin) +Facebook protocol plugin for libpurple (pidgin) -Purple Facebook implements the Facebook Messenger protocol for pidgin, -finch, and libpurple. While the primary implementation is for purple3, -this plugin is back-ported for purple2. +Purple Facebook implements the Facebook Messenger protocol into +pidgin, finch, and libpurple. While the primary implementation is for +purple3, this plugin is back-ported for purple2. + +This project is not affiliated with Facebook, Inc. diff --git a/network/purple-facebook/purple-facebook.SlackBuild b/network/purple-facebook/purple-facebook.SlackBuild index c256638a09c8e..03bc1eb18a20f 100644 --- a/network/purple-facebook/purple-facebook.SlackBuild +++ b/network/purple-facebook/purple-facebook.SlackBuild @@ -1,13 +1,10 @@ #!/bin/sh # Slackware build script for purple-facebook -# # Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com> +# Copyright 2018 David Woodfall <dave@dawoodfall.net> # All rights reserved. # -# Based on: -# SBo's cmake-template -# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -26,13 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=purple-facebook -VERSION=${VERSION:-ad2ee74b913a} +VERSION=${VERSION:-0.9.5_9ff9acf9fa14} +SRCVERSION=${VERSION/_/-} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,7 +41,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -62,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -72,13 +70,27 @@ 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 {} \; -# Let's compile! -./configure +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --build=$ARCH-slackware-linux + make make install DESTDIR=$PKG +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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING README VERSION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README VERSION $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/purple-facebook/purple-facebook.info b/network/purple-facebook/purple-facebook.info index 3574477ed60f6..42672ee61ead4 100644 --- a/network/purple-facebook/purple-facebook.info +++ b/network/purple-facebook/purple-facebook.info @@ -1,10 +1,10 @@ PRGNAM="purple-facebook" -VERSION="ad2ee74b913a" -HOMEPAGE="https://github.com/jgeboski/purple-facebook/" -DOWNLOAD="https://github.com/jgeboski/purple-facebook/releases/download/ad2ee74b913a/purple-facebook-ad2ee74b913a.tar.gz" -MD5SUM="e39bef27bb9f6843ce70bb6f3719939f" +VERSION="0.9.5_9ff9acf9fa14" +HOMEPAGE="https://github.com/dequis/purple-facebook" +DOWNLOAD="http://unrealize.co.uk/source/purple-facebook-0.9.5-9ff9acf9fa14.tar.gz" +MD5SUM="9122bd8de731a24b0011a93db62d809b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="json-glib" -MAINTAINER="Gethyn ThomasQuail" -EMAIL="gethyn@bloodbathsoftworks.com" +MAINTAINER="David Woodfall" +EMAIL="dave@dawoodfall.net" diff --git a/network/purple-facebook/slack-desc b/network/purple-facebook/slack-desc index baf6a3ac0d2b0..9a7d3f1aae573 100644 --- a/network/purple-facebook/slack-desc +++ b/network/purple-facebook/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -purple-facebook: purple-facebook (Facebook Chat for Pidgin) +purple-facebook: purple-facebook (Facebook protocol plugin for libpurple) purple-facebook: -purple-facebook: Purple Facebook implements the Facebook Messenger protocol for pidgin, -purple-facebook: finch, and libpurple. While the primary implementation is for purple3, -purple-facebook: this plugin is back-ported for purple2. -purple-facebook: -purple-facebook: Homepage: https://github.com/jgeboski/purple-facebook +purple-facebook: Purple Facebook implements the Facebook Messenger protocol into +purple-facebook: pidgin, finch, and libpurple. While the primary implementation is for +purple-facebook: purple3, this plugin is back-ported for purple2. purple-facebook: +purple-facebook: This project is not affiliated with Facebook, Inc. purple-facebook: +purple-facebook: More information: https://github.com/dequis/purple-facebook/wiki purple-facebook: purple-facebook: |