|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2014 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2014,2016 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-libfm} |
|
|
|
|
VERSION=${VERSION:-1.2.0} |
|
|
|
|
VERSION=${VERSION:-1.2.4} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/pcmanfm/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -99,6 +99,11 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
# Remove files already provided by libfm-extra |
|
|
|
|
rm $PKG/usr/include/libfm-1.0/fm-{extra,version,xml-file}.h |
|
|
|
|
rm $PKG/usr/lib$LIBDIRSUFFIX/libfm-extra.* |
|
|
|
|
rm $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/libfm-extra.pc |
|
|
|
|
|
|
|
|
|
# Compress man pages |
|
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \; |
|
|
|
|
|
|
|
|
|