aboutsummaryrefslogtreecommitdiff
path: root/system/scanmem
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 07:58:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 08:03:12 +0700
commit1c462da6610f7267320b831cc332830cd1e7eb87 (patch)
tree053048ceb3020b126e975160ca4ad4aeab900c4f /system/scanmem
parent3307d281b8f25fe9eb5906a7d2b4aa187fe11b7e (diff)
system/scanmem: Updated for version 0.15.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/scanmem')
-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 0000000000000..3e5691a052b5b
--- /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 16a7003b993a5..89be0f45993f0 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 4c9d08a4f9649..8f0934a2a2e9c 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=""