mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/pcmanfm: Updated for version 0.5.2
This commit is contained in:
parent
c82b055279
commit
16a5539893
2 changed files with 24 additions and 20 deletions
|
@ -23,9 +23,9 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=pcmanfm
|
||||
VERSION=0.5
|
||||
VERSION=0.5.2
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
@ -46,12 +46,19 @@ elif [ "$ARCH" = "x86_64" ]; then
|
|||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
# Let it never be said that any minor bug
|
||||
# will stop Slackers from building their packages:
|
||||
sed -i 's/Within Selected Date Range/Within Selected Date Range\\n/' po/ca.po
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
@ -66,10 +73,10 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
|| exit 1
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
|
@ -78,11 +85,6 @@ make install DESTDIR=$PKG || exit 1
|
|||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
@ -93,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
|||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="pcmanfm"
|
||||
VERSION="0.5"
|
||||
VERSION="0.5.2"
|
||||
HOMEPAGE="http://pcmanfm.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/pcmanfm-0.5.tar.gz"
|
||||
MD5SUM="fe1a836eed6a42107e7d71a01a52f7ec"
|
||||
MAINTAINER="Chess Griffin"
|
||||
EMAIL="chess@chessgriffin.com"
|
||||
APPROVED="dsomero"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/pcmanfm-0.5.2.tar.bz2"
|
||||
MD5SUM="750f89cbe7496e5f4c09e4c5a95dec6e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Chris Abela"
|
||||
EMAIL="chris.abela@maltats.com"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue