summaryrefslogtreecommitdiff
path: root/desktop/rofi/rofi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/rofi/rofi.SlackBuild')
-rw-r--r--desktop/rofi/rofi.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/desktop/rofi/rofi.SlackBuild b/desktop/rofi/rofi.SlackBuild
index ac6793608f..85d4ae1cc3 100644
--- a/desktop/rofi/rofi.SlackBuild
+++ b/desktop/rofi/rofi.SlackBuild
@@ -1,10 +1,11 @@
#!/bin/sh
-# Slackware build script for INSTEAD
+# Slackware build script for rofi
# Written by Andrew Lobanov <spline @ rooker dot ru>
+# Modified by Eugene M., <damagedone at gmx dot com>
PRGNAM=rofi
-VERSION=${VERSION:-0.14.9}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,15 +51,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG PREFIX=/usr
-# Create a directory for documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -68,7 +74,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}