summaryrefslogtreecommitdiff
path: root/desktop/pclock/pclock.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/pclock/pclock.SlackBuild')
-rw-r--r--desktop/pclock/pclock.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/pclock/pclock.SlackBuild b/desktop/pclock/pclock.SlackBuild
index e955cb0ab8..4b07a170de 100644
--- a/desktop/pclock/pclock.SlackBuild
+++ b/desktop/pclock/pclock.SlackBuild
@@ -45,7 +45,7 @@ find . \
make \
DESTDIR=$PKG \
CFLAGS="$SLKCFLAGS" \
- LIBDIR="-L/usr/X11R6/lib$LIBDIRSUFFIX"
+ LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11"
mkdir -p $PKG/usr/bin
cp -a src/pclock $PKG/usr/bin
@@ -68,5 +68,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}