summaryrefslogtreecommitdiff
path: root/network/gajim/gajim.SlackBuild
diff options
context:
space:
mode:
authorRuben Schuller <sb@rbn.im>2017-09-17 16:47:07 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-02 11:23:18 +0700
commitb5ba192623de828802586a1cef64051d976e1f20 (patch)
tree829b7d501b335e27e263cf752044c1bdb43ed151 /network/gajim/gajim.SlackBuild
parenta424e36d8f4dc576f17300683f303f51887b9825 (diff)
downloadslackbuilds-b5ba192623de828802586a1cef64051d976e1f20.tar.gz
network/gajim: Updated for version 1.3.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/gajim/gajim.SlackBuild')
-rw-r--r--network/gajim/gajim.SlackBuild21
1 files changed, 5 insertions, 16 deletions
diff --git a/network/gajim/gajim.SlackBuild b/network/gajim/gajim.SlackBuild
index 707218a889..0b2479e6ae 100644
--- a/network/gajim/gajim.SlackBuild
+++ b/network/gajim/gajim.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gajim
-VERSION=${VERSION:-0.16.9}
+VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,8 +71,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,19 +80,8 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+python3 setup.py install --root=$PKG
+mv $PKG/usr/share/man $PKG/usr/man
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true