diff options
author | Komer | 2020-06-19 16:44:54 +0800 |
---|---|---|
committer | Komer | 2020-06-19 16:44:54 +0800 |
commit | be78d8e2a384bbeb47e784d12968a11f3ca70304 (patch) | |
tree | 08eed9a0dca68a38888df0a30463eebd2dbedeeb | |
download | aur-be78d8e2a384bbeb47e784d12968a11f3ca70304.tar.gz |
Initial AUR release
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | xmind.xml | 8 |
4 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6d888330068f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = xmind-2020 + pkgdesc = XMind - The most popular mind mapping software + pkgver = 10.1.2 + pkgrel = 2 + url = https://www.xmind.net/ + arch = x86_64 + license = custom + depends = libxss + depends = nss + depends = libxtst + depends = alsa-lib + depends = gtk3 + source = https://dl3.xmind.net/XMind-2020-for-Linux-amd-64bit-10.1.2-202004142327.deb + source = xmind.xml + sha256sums = SKIP + sha256sums = 833f6f1a7ddd73ea2487a21390e16b57c3fa817a560f385a034efdd1ed754a8d + +pkgname = xmind-2020 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..65c4e628daf2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +src +pkg +*.deb +*.part +*.pkg.tar.xz +*.pkg.tar.zst +*.rpm diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2d8470bbf7e1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: alpha0x00 <li_tking@163.com> + +pkgname=xmind-2020 +# the versin is from deb package +pkgver=10.1.2 +pkgrel=2 +pkgdesc="XMind - The most popular mind mapping software" +arch=("x86_64") +url="https://www.xmind.net/" +license=('custom') +depends=('libxss' 'nss' 'libxtst' 'alsa-lib' 'gtk3') + +source=("https://dl3.xmind.net/XMind-2020-for-Linux-amd-64bit-$pkgver-202004142327.deb" + 'xmind.xml') + +sha256sums=('SKIP' + '833f6f1a7ddd73ea2487a21390e16b57c3fa817a560f385a034efdd1ed754a8d') + +package() { + tar xf data.tar.xz -C ${pkgdir}/ + + chmod 755 ${pkgdir}"/opt/XMind/" \ + ${pkgdir}"/opt/XMind/locales/" \ + ${pkgdir}"/opt/XMind/resources/" + + mkdir -p ${pkgdir}/usr/bin/ + ln -s "/opt/XMind/XMind" ${pkgdir}/usr/bin/xmind-2020 + + mkdir -p ${pkgdir}/usr/share/mime/packages + install -Dm644 xmind.xml ${pkgdir}/usr/share/mime/packages/ + + mkdir -p ${pkgdir}/usr/share/licenses/xmind-2020 + cp ${pkgdir}"/opt/XMind/resources/app.asar.unpacked/static/license/"license{-cn,}.pdf ${pkgdir}/usr/share/licenses/xmind-2020/ +} diff --git a/xmind.xml b/xmind.xml new file mode 100644 index 000000000000..084191d14ff8 --- /dev/null +++ b/xmind.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/xmind"> + <comment>XMind File</comment> + <glob pattern="*.xmind"/> + <generic-icon name="XMind"/> + </mime-type> +</mime-info> |