summaryrefslogtreecommitdiffstats
path: root/misc/lxappearance/lxappearance.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/lxappearance/lxappearance.SlackBuild')
-rw-r--r--misc/lxappearance/lxappearance.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/misc/lxappearance/lxappearance.SlackBuild b/misc/lxappearance/lxappearance.SlackBuild
index fe13c42e99..f4deaac29b 100644
--- a/misc/lxappearance/lxappearance.SlackBuild
+++ b/misc/lxappearance/lxappearance.SlackBuild
@@ -1,11 +1,12 @@
#!/bin/sh
# Slackware build script for LXAppearance
-
# Originally by "majk" <majk@konstelacioj.info>
+# submitted by dugan [underscore] c [at] fastmail [dot] fm for 13.1
+# modified by ponce <matteo.bernardini@gmail.com> for the new rewrite
PRGNAM=lxappearance
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-20110702_4314ad6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -51,12 +52,18 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sh autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-man \
--mandir=/usr/man \
+ --disable-debug \
--build=$ARCH-slackware-linux
make