aboutsummaryrefslogtreecommitdiff
path: root/misc/lxappearance/lxappearance.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <dugan [underscore] c [at] fastmail [dot] fm>2011-08-11 15:16:21 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 15:16:21 -0300
commit181b5f97d8e6a861fc0982021a75d556f448f2ff (patch)
tree3b43309dbfc9241d00dd89e1f03dc916bafd17cf /misc/lxappearance/lxappearance.SlackBuild
parent60ae8c614a2db7786cbb5cd8c87b3d0b5efb7861 (diff)
misc/lxappearance: Updated for version 0.5.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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