summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0154310e07d11664be7fad0597c66908f9b7a28a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 184754 2016-08-01 15:30:30Z felixonmars $
# Maintainer: Ivo(sh) Musil <ivoshm@gmail.com>
# Contributor: Felix Yan <felixonmars@gmail.com>
# Contributor: Christoph Drexler <chrdr at gmx dot at>
# Contributor: Jelle van der Waa <jellevdwaa@gmail.com>

pkgname=xmind-legacy
pkgver=3.6.51
_filename=xmind-7.5-update1-linux
pkgrel=4
pkgdesc="Brainstorming and Mind Mapping Software - legacy version 7.5"
arch=('i686' 'x86_64')
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')
conflicts=('xmind')
source_i686=("http://www.xmind.net/xmind/downloads/${_filename}_i386.deb")
source_x86_64=("http://www.xmind.net/xmind/downloads/${_filename}_amd64.deb")
sha512sums_i686=('27b5b1eea2f5b2b085aa0ebbcb046e0aa8f146ec4619fc3b9c926021a93cd840fea0a8242975d96eabb0f5aaab95156624d6f369074dbf5f0af52d0eca07f3f4')
sha512sums_x86_64=('899c30e654396f2fea6b5e4218edddfed73729b6c733726a8a5c0c0b873f8cfd5e417e7cacdffaff25a18823458921e1d994faca6bc6cdcc0733c9a1487c7dc1')

build() {
  if [[ "$CARCH" == "i686" ]]; then
    ar x "${_filename}_i386.deb"
  else
    ar x "${_filename}_amd64.deb"
  fi
}

package() {
  bsdtar -xf data.tar.gz -C "$pkgdir"
}