summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/awesome/awesome.SlackBuild5
-rw-r--r--desktop/awesome/awesome.info6
-rw-r--r--desktop/awesome/doinst.sh3
3 files changed, 9 insertions, 5 deletions
diff --git a/desktop/awesome/awesome.SlackBuild b/desktop/awesome/awesome.SlackBuild
index 740c11a649..ff29214c63 100644
--- a/desktop/awesome/awesome.SlackBuild
+++ b/desktop/awesome/awesome.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=awesome
-VERSION=${VERSION:-4.0}
+VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -94,6 +94,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/X11/xinit
install -m 0755 -D $CWD/xinitrc.awesome $PKG/etc/X11/xinit/xinitrc.awesome
diff --git a/desktop/awesome/awesome.info b/desktop/awesome/awesome.info
index 7bec6bcc41..7536742549 100644
--- a/desktop/awesome/awesome.info
+++ b/desktop/awesome/awesome.info
@@ -1,8 +1,8 @@
PRGNAM="awesome"
-VERSION="4.0"
+VERSION="4.2"
HOMEPAGE="https://awesomewm.org"
-DOWNLOAD="https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.0.tar.xz"
-MD5SUM="3dc903f7d5980fc15e7c6e6620040792"
+DOWNLOAD="https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.2.tar.xz"
+MD5SUM="bc6ef72481cfd13c61bc1740ef42a6b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lgi libxdg-basedir xcb-util-xrm libxkbcommon"
diff --git a/desktop/awesome/doinst.sh b/desktop/awesome/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/desktop/awesome/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi