[arch-commits] Commit in xmind/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Jun 1 00:39:50 UTC 2015
Date: Monday, June 1, 2015 @ 02:39:49
Author: fyan
Revision: 134432
upgpkg: xmind 3.5.2-1
Modified:
xmind/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-31 21:34:34 UTC (rev 134431)
+++ PKGBUILD 2015-06-01 00:39:49 UTC (rev 134432)
@@ -4,24 +4,27 @@
# Contributor: Jelle van der Waa <jellevdwaa at gmail.com>
pkgname=xmind
-pkgver=3.5.1
-_pkgdate=201411201906
+pkgver=3.5.2
+_pkgdate=201504270119
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=('1229a15597deda7b35a0c304a0dd9a066c6c51291f0cb144d8c57f2637dd67030547f5f940922b5c3cc0adf4320ff27cdbc4ae26bb55019ab8a797122039be13')
-[ "${CARCH}" = "x86_64" ] && sha512sums=('0c989272eea261381797d9781ed6c1439fd40758bb716ed854be4a8d6e696c9ac55994ac888f31536584a3747c719e4d9cb4a9e81efd7b115b7c912de1e11de0')
+source_i686=("http://dl2.xmind.net/xmind-downloads/${pkgname}-linux-${pkgver}.${_pkgdate}_i386.deb")
+source_x86_64=("http://dl2.xmind.net/xmind-downloads/${pkgname}-linux-${pkgver}.${_pkgdate}_amd64.deb")
+sha512sums_i686=('8faad504ea649f9446d4a383d59ff5ecfe2e8c1deb7492025aff791cd202ad77e4875fb9c9cc48fc136dd2eafa39596b42ba4ab233050f511b788742edb6a07b')
+sha512sums_x86_64=('f26f4f9e99383da9aecea9a626d46addfd35ca22b2e14ed3670e87cc4882898131ebbed313ef04704d8ca4d88c679e767a412a68d363188a1959fa8b9fff24ee')
build() {
- ar x "${pkgname}-linux-${pkgver}.${_pkgdate}_${_arch}.deb"
+ if [[ "$CARCH" == "i686" ]]; then
+ ar x "${pkgname}-linux-${pkgver}.${_pkgdate}_i386.deb"
+ else
+ ar x "${pkgname}-linux-${pkgver}.${_pkgdate}_amd64.deb"
+ fi
}
package() {
More information about the arch-commits
mailing list