[arch-commits] Commit in xmind/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Nov 4 16:57:22 UTC 2014
Date: Tuesday, November 4, 2014 @ 17:57:22
Author: fyan
Revision: 121848
upgpkg: xmind 3.5.0-1
Modified:
xmind/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++---------------------------------
1 file changed, 6 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-11-04 16:30:37 UTC (rev 121847)
+++ PKGBUILD 2014-11-04 16:57:22 UTC (rev 121848)
@@ -4,9 +4,9 @@
# Contributor: Jelle van der Waa <jellevdwaa at gmail.com>
pkgname=xmind
-pkgver=3.4.1
-_pkgdate=201401221918
-pkgrel=2
+pkgver=3.5.0
+_pkgdate=201410310637
+pkgrel=1
pkgdesc="Brainstorming and Mind Mapping Software"
arch=('i686' 'x86_64')
[ "${CARCH}" = "i686" ] && _arch="i386"
@@ -17,40 +17,13 @@
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=('4c020c2eca0646fc18c0066a198e1fb0af1ac18c2e2534968d69d36e78fc1fe6a0b831107d27cd7db642a459d379d4b051f6db1ddaa254de935db4f81e1fa9b8')
-[ "${CARCH}" = "x86_64" ] && sha512sums=('a42c1ce8d4d786940c82d438ceeeca40cc4d742a6bb0943a65d7097ac254cb80a40c0c1cc016931d7479720a8b1543a534154c4ed513cb23acdf32b8cacdeefa')
+[ "${CARCH}" = "i686" ] && sha512sums=('7312a842cc62d8052660c4ab1e8e35e119d70d657fac715fa4ff00dbce1cd6317408574548ddf56d4453ac69dc870794dc2846b9e3ac7d305c7393e6708bf9d7')
+[ "${CARCH}" = "x86_64" ] && sha512sums=('2d89c4ff5cc0ecc7da0f7333b7c844634222108fd280b0b7420f7b65d145e196d63dd18f23590ff016ee3bf52a41cfcd72112ce0c8d92a2c183a7995b216ea9a')
build() {
ar x "${pkgname}-linux-${pkgver}.${_pkgdate}_${_arch}.deb"
- bsdtar -xf data.tar.gz
}
package() {
- install -d "${pkgdir}"/usr/share/xmind/
- cp -a "${srcdir}"/usr/local/xmind/* "${pkgdir}"/usr/share/xmind/
- cp -a "${srcdir}"/usr/share/* "${pkgdir}"/usr/share/
- install -d "${pkgdir}"/usr/bin/
- cd "${pkgdir}"/usr/bin/
- ln -s ../../usr/share/xmind/XMind .
-
- # getting the config files to the right place...
- install -d "${pkgdir}"/etc/xmind/
- mv "${pkgdir}"/usr/share/xmind/configuration/* \
- "${pkgdir}"/etc/xmind/
- cd "${pkgdir}"/usr/share/xmind/configuration/
- ln -s ../../../../etc/xmind/* .
- mv "${pkgdir}"/usr/share/xmind/XMind.ini \
- "${pkgdir}"/etc/xmind/
- cd ../
- ln -s ../../../etc/xmind/XMind.ini .
-
- # putting the png file where it belongs to
- install -d "${pkgdir}"/usr/share/pixmaps/
- mv "${pkgdir}"/usr/share/xmind/xmind-logo-36.png \
- "${pkgdir}"/usr/share/pixmaps/xmind.png
- sed -i s!Exec=.*!Exec=/usr/share/xmind/XMind! \
- "${pkgdir}"/usr/share/applications/xmind.desktop
- sed -i s!/usr/local/xmind/xmind-logo-36.png!xmind.png! \
- "${pkgdir}"/usr/share/applications/xmind.desktop
+ bsdtar -xf data.tar.gz -C "$pkgdir"
}
-
More information about the arch-commits
mailing list