summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/scanmem/doinst.sh9
-rw-r--r--system/scanmem/scanmem.SlackBuild5
-rw-r--r--system/scanmem/scanmem.info6
3 files changed, 16 insertions, 4 deletions
diff --git a/system/scanmem/doinst.sh b/system/scanmem/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/scanmem/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/system/scanmem/scanmem.SlackBuild b/system/scanmem/scanmem.SlackBuild
index 16a7003b99..89be0f4599 100644
--- a/system/scanmem/scanmem.SlackBuild
+++ b/system/scanmem/scanmem.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scanmem
-VERSION=${VERSION:-0.15.2}
+VERSION=${VERSION:-0.15.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,6 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-gui \
+ --disable-static \
--build=$ARCH-slackware-linux
make
@@ -104,6 +106,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:-tgz}
diff --git a/system/scanmem/scanmem.info b/system/scanmem/scanmem.info
index 4c9d08a4f9..8f0934a2a2 100644
--- a/system/scanmem/scanmem.info
+++ b/system/scanmem/scanmem.info
@@ -1,8 +1,8 @@
PRGNAM="scanmem"
-VERSION="0.15.2"
+VERSION="0.15.5"
HOMEPAGE="http://taviso.decsystem.org/scanmem.html"
-DOWNLOAD="https://github.com/scanmem/scanmem/archive/v0.15.2.zip"
-MD5SUM="523d5217b85295cbfb72441090dc0b31"
+DOWNLOAD="https://github.com/scanmem/scanmem/archive/v0.15.5.zip"
+MD5SUM="f8e48c31f07fff9f278d6a469a12bae8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""