summaryrefslogtreecommitdiff
path: root/network/skype4pidgin/skype4pidgin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/skype4pidgin/skype4pidgin.SlackBuild')
-rw-r--r--network/skype4pidgin/skype4pidgin.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/network/skype4pidgin/skype4pidgin.SlackBuild b/network/skype4pidgin/skype4pidgin.SlackBuild
index 585ef37bea..cafa36eb03 100644
--- a/network/skype4pidgin/skype4pidgin.SlackBuild
+++ b/network/skype4pidgin/skype4pidgin.SlackBuild
@@ -23,8 +23,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+
PRGNAM=skype4pidgin
-VERSION=20110407
+VERSION=r639
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,22 +58,20 @@ rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-ar x $CWD/$PRGNAM.deb data.tar.gz
-tar xpf data.tar.gz
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
-mv usr/share $PKG/usr
-if [ "$ARCH" == "arm" ]; then
- mv usr/lib/purple-2/libskypearm.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
-else
- mv usr/lib/purple-2/libskype${LIBDIRSUFFIX}.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
- mv usr/lib/purple-2/libskype_dbus${LIBDIRSUFFIX}.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
-fi
+
+mv $CWD/libskype.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
+mv $CWD/libskype_dbus.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/README.txt $CWD/CHANGELOG.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install