libraries/libfm: Updated for version 1.3.1, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
bd5d180a4f
commit
1ed1a1fab0
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for libfm
|
||||
|
||||
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
|
||||
# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=libfm
|
||||
VERSION=${VERSION:-1.3.0.2}
|
||||
VERSION=${VERSION:-1.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -74,10 +74,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
|
|||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
NOCONFIGURE=1 sh autogen.sh || true
|
||||
|
||||
|
@ -90,6 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--enable-static=no \
|
||||
--enable-udisks \
|
||||
$gtk \
|
||||
$actions \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
@ -106,9 +107,6 @@ make install-strip DESTDIR=$PKG
|
|||
cd $PKG/usr/lib$LIBDIRSUFFIX
|
||||
rm -f libfm-extra.so* pkgconfig/libfm-extra.pc libfm-extra.la )
|
||||
|
||||
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
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
|
@ -120,7 +118,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
cp -a AUTHORS COPYING NEWS README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libfm"
|
||||
VERSION="1.3.0.2"
|
||||
VERSION="1.3.1"
|
||||
HOMEPAGE="https://wiki.lxde.org/en/Libfm"
|
||||
DOWNLOAD="https://downloads.sf.net/pcmanfm/libfm-1.3.0.2.tar.xz"
|
||||
MD5SUM="02a024714d51e0d37afc7bd596a44f3b"
|
||||
DOWNLOAD="https://downloads.sf.net/pcmanfm/libfm-1.3.1.tar.xz"
|
||||
MD5SUM="c15ecd2c9317e2c385cd3f046d0b61ba"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="lxmenu-data menu-cache"
|
||||
|
|
Loading…
Reference in New Issue