diff options
author | Eugene M <damagedone@gmx.com> | 2017-11-16 02:31:18 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:29 +0700 |
commit | 379b1983a384b741da35a92ac865c57ae27f336d (patch) | |
tree | d841f4844694b15cb5ec8b024e7692ccb398e234 /desktop/rofi/rofi.SlackBuild | |
parent | 4c245eda83e9e5ba27ef2a23557bc5107bd7701f (diff) | |
download | slackbuilds-379b1983a384b741da35a92ac865c57ae27f336d.tar.gz |
desktop/rofi: Updated for version 1.4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/rofi/rofi.SlackBuild')
-rw-r--r-- | desktop/rofi/rofi.SlackBuild | 13 |
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} |