diff options
author | Shane | 2019-07-03 13:07:10 +0800 |
---|---|---|
committer | Shane | 2019-07-03 13:07:10 +0800 |
commit | b3e6c8f0bd17c28316f58b4ffa1ff1345f089f7c (patch) | |
tree | 6d7c9fc21bf24fa3c414523dfc3a8472faf66410 /PKGBUILD | |
parent | 7b7e077b3a7a6ae80d2a190172d6c653b4013b21 (diff) | |
download | aur-b3e6c8f0bd17c28316f58b4ffa1ff1345f089f7c.tar.gz |
点击文件可以直接打开了
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 45 |
1 files changed, 34 insertions, 11 deletions
@@ -1,25 +1,48 @@ # Maintainer: Shane <shanelyx@outlook.com> pkgname=xmind-zen -pkgver=20190622 +pkgver=20190703 pkgrel=1 -pkgdesc="converted from .rpm package on xmind.cn. please modify the website to xmind.net for non-Chinese users" +pkgdesc="XMind ZEN - The most popular mind mapping software. please modify the website to xmind.net for non-Chinese users" arch=("x86_64") url="https://www.xmind.cn/" license=('custom') -depends=('gconf') + +conflicts=('xmind') + +depends=('gconf' 'libxss' 'nss' 'libxtst') + +_url="www.xmind.cn" source=( - "http://dl2.xmind.cn/XMind-ZEN-for-Linux-64bit.rpm" - "https://www.xmind.cn/terms/index.html" + "https://${_url}/xmind/downloads/XMind-ZEN-for-Linux-64bit.rpm" + "https://${_url}/terms/index.html" + "XMind.desktop" + "XMind.png" + "xmind.xml" ) -md5sums=('fe6357e885b72400a597416ac3d0f314' +md5sums=( + 'fe6357e885b72400a597416ac3d0f314' + 'SKIP' + 'SKIP' + 'SKIP' 'SKIP' ) -#options=('!strip') - package() { - cd ${srcdir} - cp -r opt usr ${pkgdir} - install -Dm644 index.html ${pkgdir}/usr/share/licenses/$pkgname/license.html + cd ${srcdir} + cp -rf opt usr ${pkgdir}/ + + # .desktop + install -Dm644 XMind.desktop ${pkgdir}/usr/share/applications/ + + # license + install -Dm644 index.html ${pkgdir}/usr/share/licenses/$pkgname/license.html + + # icon + mkdir -p ${pkgdir}/usr/share/pixmaps + install -Dm644 XMind.png ${pkgdir}/usr/share/pixmaps/ + + # mimeType + mkdir -p ${pkgdir}/usr/share/mime/packages + install -Dm644 xmind.xml ${pkgdir}/usr/share/mime/packages/ }
\ No newline at end of file |