diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 22:22:47 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:38 +0700 |
commit | 21593bcd5ecc8d9328562a9fe0a5b7919eafaf2a (patch) | |
tree | e5603aa9f7a5a2619a2e663a1ce4749613c9b2f1 /misc/yapet | |
parent | 41544472d19f83df3f71a3e78ad4ea740976f3e7 (diff) |
misc/yapet: Fix desktop file handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/yapet')
-rw-r--r-- | misc/yapet/doinst.sh | 3 | ||||
-rw-r--r-- | misc/yapet/gcc6.patch | 11 | ||||
-rw-r--r-- | misc/yapet/yapet.SlackBuild | 1 |
3 files changed, 4 insertions, 11 deletions
diff --git a/misc/yapet/doinst.sh b/misc/yapet/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/misc/yapet/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 diff --git a/misc/yapet/gcc6.patch b/misc/yapet/gcc6.patch deleted file mode 100644 index a57e0c93c18ec..0000000000000 --- a/misc/yapet/gcc6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- yapet-1.0/yapet/cfg.h 2014-02-23 10:18:41.000000000 -0700 -+++ yapet-1.0/yapet/cfg.h 2016-04-14 07:06:49.665672169 -0700 -@@ -163,7 +163,7 @@ - locked = false; - } - -- void is_locked() const { -+ bool is_locked() const { - return locked; - } - diff --git a/misc/yapet/yapet.SlackBuild b/misc/yapet/yapet.SlackBuild index d377be2ec088c..fca88e49d0ef1 100644 --- a/misc/yapet/yapet.SlackBuild +++ b/misc/yapet/yapet.SlackBuild @@ -101,6 +101,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 cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |