diff options
-rw-r--r-- | office/xmind/xmind.SlackBuild | 33 | ||||
-rw-r--r-- | office/xmind/xmind.info | 14 |
2 files changed, 25 insertions, 22 deletions
diff --git a/office/xmind/xmind.SlackBuild b/office/xmind/xmind.SlackBuild index 48c1d683ae..dcdea51a1c 100644 --- a/office/xmind/xmind.SlackBuild +++ b/office/xmind/xmind.SlackBuild @@ -23,9 +23,12 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# updated by Andre Barboza <bmg.andre@gmail.com> PRGNAM=xmind -VERSION=3.2.1.201011212218 +VERSION=${VERSION:-3.5.1} +PKGVERSION=3.5.1.201411201906 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,26 +45,22 @@ OUTPUT=${OUTPUT:-/tmp} set -eu -# Get the real version, thanks to Fred Richards. -REAL_VER=$(ar p xmind-${VERSION}_${DEBARCH}.deb control.tar.gz | tar zxO ./control | grep Version | awk '{print $2}' | cut -d- -f1) - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar p $CWD/xmind-${VERSION}_${DEBARCH}.deb data.tar.gz | gunzip -d | tar xv +ar p $CWD/xmind-linux-${PKGVERSION}_${DEBARCH}.deb data.tar.gz | gunzip -d | tar xv # Move from /usr/local/xmind to /opt/xmind mkdir -p $PKG/opt -mv $PKG/usr/local/xmind/ $PKG/opt/ -rmdir $PKG/usr/local +mv $PKG/usr/lib/xmind/ $PKG/opt/ # Create launch script mkdir -p $PKG/usr/bin -cat > $PKG/usr/bin/xmind << XMIND +cat > $PKG/usr/bin/XMind << XMIND #!/bin/sh -/opt/xmind/xmind +/opt/xmind/XMind XMIND -chmod +x $PKG/usr/bin/xmind +chmod +x $PKG/usr/bin/XMind # Modify executable in xmind.desktop sed -i 's#/usr/local/#/opt/#' $PKG/usr/share/applications/xmind.desktop @@ -71,17 +70,21 @@ 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 {} \; chmod 0755 $PKG # Put this back. -mkdir -p $PKG/usr/doc/$PRGNAM-$REAL_VER -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$REAL_VER/$PRGNAM.SlackBuild -ln -s /opt/xmind/readme.txt $PKG/usr/doc/$PRGNAM-$REAL_VER/ +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/lib/xmindnet/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/lib/xmindnet/ +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mv $PKG/usr/share/man $PKG/usr/ +rm -rf $PKG/usr/lib/ 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-$REAL_VER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/office/xmind/xmind.info b/office/xmind/xmind.info index f292690a41..bd712e152c 100644 --- a/office/xmind/xmind.info +++ b/office/xmind/xmind.info @@ -1,10 +1,10 @@ PRGNAM="xmind" -VERSION="3.2.1.201011212218" +VERSION="3.5.1" HOMEPAGE="http://www.xmind.net/" -DOWNLOAD="http://dl2.xmind.net/xmind-downloads/xmind-3.2.1.201011212218_i386.deb" -MD5SUM="8ffdf95dd1dfd5d37b5190562f2768a1" -DOWNLOAD_x86_64="http://dl2.xmind.net/xmind-downloads/xmind-3.2.1.201011212218_amd64.deb" -MD5SUM_x86_64="d08060971bd6eb3531024e81950eee52" +DOWNLOAD="http://dl2.xmind.net/xmind-downloads/xmind-linux-3.5.1.201411201906_i386.deb" +MD5SUM="71e6334967f6ec8a8e3ab643eba1a783" +DOWNLOAD_x86_64="http://dl2.xmind.net/xmind-downloads/xmind-linux-3.5.1.201411201906_amd64.deb" +MD5SUM_x86_64="de438124b307ba9fd726c24ba7b7e53f" REQUIRES="jdk" -MAINTAINER="Vegard Haugland" -EMAIL="vegard@haugland.at" +MAINTAINER="Andre Barboza" +EMAIL="bmg.andre@gmail.com" |