diff options
author | Leonard Schmidt <lems@gmx.net> | 2018-06-28 22:26:35 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-06-28 22:26:35 +0100 |
commit | 2a7df0d5879bf600f54d352af3108b57b5e37d01 (patch) | |
tree | 97b40e3627e0e5295359fb7663948ed9a21fd2a6 /network/vimb | |
parent | 00c06305c1800538fb20c8515b36179b58bba12c (diff) | |
download | slackbuilds-2a7df0d5879bf600f54d352af3108b57b5e37d01.tar.gz |
network/vimb: Updated for version 3.2.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/vimb')
-rw-r--r-- | network/vimb/Makefile.patch | 11 | ||||
-rw-r--r-- | network/vimb/doinst.sh | 3 | ||||
-rw-r--r-- | network/vimb/vimb.SlackBuild | 15 | ||||
-rw-r--r-- | network/vimb/vimb.info | 6 |
4 files changed, 29 insertions, 6 deletions
diff --git a/network/vimb/Makefile.patch b/network/vimb/Makefile.patch new file mode 100644 index 0000000000..88b76c6e3d --- /dev/null +++ b/network/vimb/Makefile.patch @@ -0,0 +1,11 @@ +--- src/Makefile.orig 2018-06-28 04:21:53.000000000 +0200 ++++ src/Makefile 2018-06-28 04:21:22.000000000 +0200 +@@ -16,6 +16,8 @@ + + $(OBJ): config.h ../config.mk + ++input.o: scripts/scripts.h ++ + normal.o: scripts/scripts.h + + setting.o: scripts/scripts.h diff --git a/network/vimb/doinst.sh b/network/vimb/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/network/vimb/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/network/vimb/vimb.SlackBuild b/network/vimb/vimb.SlackBuild index 6ae45d0e21..b96b5c2545 100644 --- a/network/vimb/vimb.SlackBuild +++ b/network/vimb/vimb.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vimb -VERSION=${VERSION:-3.1.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +69,15 @@ 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 {} \; -make PREFIX=/usr DESTDIR="$PKG" MANPREFIX=$PKG/usr/man DEXTENSIONDIR=$PKG/usr/lib/vimb install +patch -p0 < $CWD/Makefile.patch + +make \ + PREFIX=/usr \ + DESTDIR="$PKG" \ + MANPREFIX="$PKG"/usr/man \ + LIBDIR="$PKG"/usr/lib${LIBDIRSUFFIX}/vimb \ + EXTENSIONDIR=/usr/lib${LIBDIRSUFFIX}/vimb \ + install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -79,6 +87,7 @@ 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/network/vimb/vimb.info b/network/vimb/vimb.info index 5a3d0863f7..8f03b4d82b 100644 --- a/network/vimb/vimb.info +++ b/network/vimb/vimb.info @@ -1,8 +1,8 @@ PRGNAM="vimb" -VERSION="3.1.0" +VERSION="3.2.0" HOMEPAGE="https://fanglingsu.github.io/vimb" -DOWNLOAD="https://github.com/fanglingsu/vimb/archive/3.1.0/vimb-3.1.0.tar.gz" -MD5SUM="52b28e286a2529407684d9f221279822" +DOWNLOAD="https://github.com/fanglingsu/vimb/archive/3.2.0/vimb-3.2.0.tar.gz" +MD5SUM="c0848041b6f6d618d5d4d0e169c1ea5c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="webkit2gtk" |