Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=754b333212a7e6d6b5e0dff7e14da42607283024
commit 754b333212a7e6d6b5e0dff7e14da42607283024 Author: kikadf <[email protected]> Date: Tue Sep 25 18:46:21 2012 +0200 xmind-3.3.0-1-x86_64 * Version bump diff --git a/source/xapps-extra/xmind/FrugalBuild b/source/xapps-extra/xmind/FrugalBuild index 35af820..514d71d 100644 --- a/source/xapps-extra/xmind/FrugalBuild +++ b/source/xapps-extra/xmind/FrugalBuild @@ -1,40 +1,45 @@ -# Compiling time: 0 SBU +# Compiling time: 0.01 SBU # Maintainer: kikadf <[email protected]> # Contributor: Cedrick Hannier alias Cedynamix <[email protected]> pkgname=xmind -extrapkg=portable -pkgver=3.2.1 -extraver=201011212218 +pkgver=3.3.0 +extraver=201208102038 pkgrel=1 pkgdesc="Brainstorming and Mind Mapping Software" url="http://www.xmind.net" groups=('xapps-extra') -depends=('j2re' 'glibc') +rodepends=('openjre' 'lame') archs=('i686' 'x86_64') _F_cd_path="./" -up2date="lynx -dump http://www.xmind.net/downloads/ | grep $extrapkg-[0-9\.]*zip$ | sed 's/$extrapkg-\(.*\).$extraver.zip/\1/' | Flastarchive" -source=(http://dl2.xmind.net/xmind-downloads/$pkgname-$extrapkg-$pkgver.$extraver.zip \ - $pkgname.desktop $pkgname.png xmindini.diff) -sha1sums=('34311681b61f3fd9b6b6b6c6188abc3b39c6e61b' \ - '89c9837c8c0e316dcab7edbaee95006bead36280' \ - '1aeaea5206627c760ba7fd25a9c87a942b9687eb' \ - 'e1d05112d2ffed7b6819841c597d8cd709c165e3') +_F_desktop_name="XMind" +_F_desktop_icon="xmind-logo-36.png" +_F_desktop_categories="Office;" +up2date="lynx -dump $url/download/portable | grep portable-[0-9\.]*zip$ | sed 's/portable-\(.*\).$extraver.zip/\1/' | Flastarchive" +if [ "$CARCH" == "i686" ]; then + _arch="_i386" + sha1sums=('45e2accf33120160d7129fef42e34f8d9626fe9f') +elif [ "$CARCH" == "x86_64" ]; then + _arch="_amd64" + sha1sums=('8b2fd1b5766984d59fb3413d7f2baa74105c6f31') +fi +source=(http://dl2.xmind.net/xmind-downloads/$pkgname-linux-$pkgver.$extraver$_arch.deb) -build() { +# Portable packages doesn't work. +# Switch source for deb packages. + +build() +{ Fcd - Fpatchall xmindini.diff - rm $pkgname-$extrapkg-$pkgver.$extraver.zip - Fmkdir /usr/{bin,share/{pixmaps,applications,xmind}} - Finstall 644 xmind.desktop /usr/share/applications/ - Ficon xmind.png - find $Fsrcdir/ -maxdepth 1 -type f -exec cp {} $Fdestdir/usr/share/xmind/ \; || Fdie - Fcp Commons /usr/share/xmind/ - if [ "$CARCH" == "i686" ]; then - SUBDIR="XMind_Linux" - elif [ "$CARCH" == "x86_64" ]; then - SUBDIR="XMind_Linux_64bit" - fi - cp -a "$Fsrcdir/$SUBDIR" "$Fdestdir/usr/share/xmind/" || Fdie - ln -sf "/usr/share/xmind/$SUBDIR/xmind" $Fdestdir/usr/bin/ || Fdie + ar x $pkgname-linux-$pkgver.$extraver$_arch.deb || Fdie + tar xzf data.tar.gz || Fdie + Ficon usr/local/xmind/xmind-logo-36.png + Fcp usr/local/xmind /usr/share/ + Fdirschmod /usr/share/xmind 755 + Ffileschmod /usr/share/xmind 644 + Ffileschmod /usr/share/xmind/XMind 755 + Ffileschmod /usr/share/xmind/*.so 755 + Fln /usr/share/xmind/XMind /usr/bin/xmind + Fdesktop2 } + diff --git a/source/xapps-extra/xmind/xmind.desktop b/source/xapps-extra/xmind/xmind.desktop deleted file mode 100644 index 0723b68..0000000 --- a/source/xapps-extra/xmind/xmind.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Version=1.0 -Encoding=UTF-8 -Name=XMind -GenericName=XMind -Exec=xmind -Terminal=false -Icon=xmind -Type=Application -MimeType=application/x-xmind -Categories=Application;Office; -Comment=brainstorming and mind mapping software diff --git a/source/xapps-extra/xmind/xmind.png b/source/xapps-extra/xmind/xmind.png deleted file mode 100644 index db5af7e..0000000 Binary files a/source/xapps-extra/xmind/xmind.png and /dev/null differ diff --git a/source/xapps-extra/xmind/xmindini.diff b/source/xapps-extra/xmind/xmindini.diff deleted file mode 100644 index e37f7ef..0000000 --- a/source/xapps-extra/xmind/xmindini.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- XMind_Linux/xmind-bin.ini 2010-11-22 09:11:47.000000000 +0100 -+++ XMind_Linux/xmind-bin.ini 2012-03-20 19:47:41.754756481 +0100 -@@ -11,5 +11,5 @@ - -XX:MaxPermSize=256m - -Xms128m - -Xmx512m ---Dosgi.instance.area=../Commons/data/workspace-cathy [email protected]/.xmind/workspace-cathy - -Dorg.xmind.product.distribution.id=cathy_portable _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
