diff options
author | Bruce Zhang | 2019-12-05 15:02:10 +0800 |
---|---|---|
committer | Bruce Zhang | 2019-12-05 15:02:10 +0800 |
commit | 230720b6f733611e71adbd3cfe49e5b88bcba365 (patch) | |
tree | e2f96ecf77a6ca47d08c9b8c1be11844615b9ac0 | |
parent | 6ef2c8fc3d3b1f8b032e73e6348ebe693cf6ecad (diff) | |
download | aur-xmind-zen-electron.tar.gz |
upgpkg: xmind-zen-electron 10.0.0-3
update
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | xmind.xml | 10 |
3 files changed, 23 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = xmind-zen-electron pkgdesc = XMind - The most popular mind mapping software pkgver = 10.0.0 - pkgrel = 2 + pkgrel = 3 url = https://www.xmind.net/zen/ arch = x86_64 license = custom @@ -11,7 +11,9 @@ pkgbase = xmind-zen-electron conflicts = xmind-zen conflicts = xmind source = xmind-zen-10.0.0-201911260056.orig.rpm::https://dl3.xmind.net/XMind-ZEN-for-Linux-x86-64bit-10.0.0-201911260056.rpm + source = xmind.xml sha256sums = 1821384afb6b0cf9f80eba7e7c529a4754ce59b3d192af16d173b9a317730131 + sha256sums = SKIP pkgname = xmind-zen-electron @@ -3,7 +3,7 @@ _name=xmind-zen pkgname="$_name-electron" pkgver=10.0.0 release_date=201911260056 -pkgrel=2 +pkgrel=3 pkgdesc="XMind - The most popular mind mapping software" arch=('x86_64') url="https://www.xmind.net/zen/" @@ -11,8 +11,14 @@ license=('custom') depends=('electron5') provides=("$_name" xmind) conflicts=("$_name" xmind) -source=("$_name-$pkgver-$release_date.orig.rpm::https://dl3.xmind.net/XMind-ZEN-for-Linux-x86-64bit-$pkgver-$release_date.rpm") -sha256sums=('1821384afb6b0cf9f80eba7e7c529a4754ce59b3d192af16d173b9a317730131') +source=( + "$_name-$pkgver-$release_date.orig.rpm::https://dl3.xmind.net/XMind-ZEN-for-Linux-x86-64bit-$pkgver-$release_date.rpm" + xmind.xml +) +sha256sums=( + '1821384afb6b0cf9f80eba7e7c529a4754ce59b3d192af16d173b9a317730131' + 'SKIP' +) prepare() { cd "$srcdir" @@ -26,6 +32,7 @@ package() { cd "$srcdir/usr/share" find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/{}" \; install -Dm755 "$srcdir/XMind.sh" "$pkgdir/usr/bin/XMind" + install -Dm644 "$srcdir/xmind.xml" "$pkgdir/usr/share/mime/packages/xmind.xml" cd "$srcdir/opt/XMind ZEN/resources" install -Dm644 app.asar "$pkgdir/usr/share/XMind/app.asar" diff --git a/xmind.xml b/xmind.xml new file mode 100644 index 000000000000..a1a0247c2a5f --- /dev/null +++ b/xmind.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/xmind"> + <sub-class-of type="application/zip" /> + <comment>XMind File</comment> + <comment xml:lang="zh_CN">XMind 文件</comment> + <glob pattern="*.xmind"/> + <generic-icon name="xmind_file"/> + </mime-type> +</mime-info> |