aboutsummaryrefslogtreecommitdiff
path: root/misc/lxappearance/lxappearance.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/lxappearance/lxappearance.SlackBuild')
-rw-r--r--misc/lxappearance/lxappearance.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/lxappearance/lxappearance.SlackBuild b/misc/lxappearance/lxappearance.SlackBuild
index fe13c42e993dd..965b2e331fffe 100644
--- a/misc/lxappearance/lxappearance.SlackBuild
+++ b/misc/lxappearance/lxappearance.SlackBuild
@@ -5,7 +5,7 @@
# Originally by "majk" <majk@konstelacioj.info>
PRGNAM=lxappearance
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -57,11 +57,15 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
+ --sysconfdir=/etc \
--build=$ARCH-slackware-linux
-make
+make V=1
make install-strip DESTDIR=$PKG
+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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION