Date: Tuesday, November 4, 2014 @ 17:57:41 Author: fyan Revision: 121849
archrelease: copy trunk to community-testing-x86_64 Added: xmind/repos/community-testing-x86_64/ xmind/repos/community-testing-x86_64/PKGBUILD (from rev 121848, xmind/trunk/PKGBUILD) xmind/repos/community-testing-x86_64/xmind.install (from rev 121848, xmind/trunk/xmind.install) ---------------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ xmind.install | 16 ++++++++++++++++ 2 files changed, 45 insertions(+) Copied: xmind/repos/community-testing-x86_64/PKGBUILD (from rev 121848, xmind/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-11-04 16:57:41 UTC (rev 121849) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Christoph Drexler <chrdr at gmx dot at> +# Contributor: Jelle van der Waa <jellevd...@gmail.com> + +pkgname=xmind +pkgver=3.5.0 +_pkgdate=201410310637 +pkgrel=1 +pkgdesc="Brainstorming and Mind Mapping Software" +arch=('i686' 'x86_64') +[ "${CARCH}" = "i686" ] && _arch="i386" +[ "${CARCH}" = "x86_64" ] && _arch="amd64" +url="http://www.xmind.net" +license=('EPL' 'LGPL') +depends=('desktop-file-utils' 'fontconfig' 'libxrender' 'java-runtime' 'shared-mime-info' 'libxext') +optdepends=('lame: needed for the feature audio notes') +install=xmind.install +source=(http://dl2.xmind.net/xmind-downloads/${pkgname}-linux-${pkgver}.${_pkgdate}_${_arch}.deb) +[ "${CARCH}" = "i686" ] && sha512sums=('7312a842cc62d8052660c4ab1e8e35e119d70d657fac715fa4ff00dbce1cd6317408574548ddf56d4453ac69dc870794dc2846b9e3ac7d305c7393e6708bf9d7') +[ "${CARCH}" = "x86_64" ] && sha512sums=('2d89c4ff5cc0ecc7da0f7333b7c844634222108fd280b0b7420f7b65d145e196d63dd18f23590ff016ee3bf52a41cfcd72112ce0c8d92a2c183a7995b216ea9a') + +build() { + ar x "${pkgname}-linux-${pkgver}.${_pkgdate}_${_arch}.deb" +} + +package() { + bsdtar -xf data.tar.gz -C "$pkgdir" +} Copied: xmind/repos/community-testing-x86_64/xmind.install (from rev 121848, xmind/trunk/xmind.install) =================================================================== --- community-testing-x86_64/xmind.install (rev 0) +++ community-testing-x86_64/xmind.install 2014-11-04 16:57:41 UTC (rev 121849) @@ -0,0 +1,16 @@ +post_install() { + echo "Updating MIME database" + update-mime-database /usr/share/mime + update-desktop-database +} + +post_remove() { + echo "Updating MIME database" + update-mime-database /usr/share/mime + update-desktop-database +} + +op=$1 +shift + +$op $*