aboutsummaryrefslogtreecommitdiff
path: root/desktop/rofi
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2017-11-16 02:31:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-18 12:40:29 +0700
commit379b1983a384b741da35a92ac865c57ae27f336d (patch)
treed841f4844694b15cb5ec8b024e7692ccb398e234 /desktop/rofi
parent4c245eda83e9e5ba27ef2a23557bc5107bd7701f (diff)
desktop/rofi: Updated for version 1.4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/rofi')
-rw-r--r--desktop/rofi/doinst.sh3
-rw-r--r--desktop/rofi/rofi.SlackBuild13
-rw-r--r--desktop/rofi/rofi.info8
3 files changed, 13 insertions, 11 deletions
diff --git a/desktop/rofi/doinst.sh b/desktop/rofi/doinst.sh
deleted file mode 100644
index 5fb28930db0b..000000000000
--- a/desktop/rofi/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/desktop/rofi/rofi.SlackBuild b/desktop/rofi/rofi.SlackBuild
index ac6793608f95..85d4ae1cc33a 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}
diff --git a/desktop/rofi/rofi.info b/desktop/rofi/rofi.info
index dda0025ce7f7..77923ba3378a 100644
--- a/desktop/rofi/rofi.info
+++ b/desktop/rofi/rofi.info
@@ -1,10 +1,10 @@
PRGNAM="rofi"
-VERSION="0.14.9"
+VERSION="1.4.2"
HOMEPAGE="https://davedavenport.github.io/rofi/"
-DOWNLOAD="https://github.com/DaveDavenport/rofi/releases/download/0.14.9/rofi-0.14.9.tar.xz"
-MD5SUM="beb7fdedcc998a4692495587f19bbe33"
+DOWNLOAD="https://github.com/DaveDavenport/rofi/releases/download/1.4.2/rofi-1.4.2.tar.xz"
+MD5SUM="eb530f63cb48031839592492cff0c56f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="check libxkbcommon xcb-util-xrm"
MAINTAINER="Andrew Lobanov"
EMAIL="spline1986@gmail.com"