diff options
author | RemiliaForever | 2018-01-25 11:37:19 +0800 |
---|---|---|
committer | RemiliaForever | 2018-01-25 11:37:19 +0800 |
commit | 06ca6dde19d63e39b1bbeaa1fb61d9fa1ebdfa15 (patch) | |
tree | c76c98cc4189d5a57cf7208e5ce2f27254ff4137 | |
parent | 7071d3f1caf19c9352b33cada1df432f8c01a387 (diff) | |
download | aur-06ca6dde19d63e39b1bbeaa1fb61d9fa1ebdfa15.tar.gz |
add file icon
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | XMind.png | bin | 21635 -> 0 bytes | |||
-rw-r--r-- | xmind.desktop (renamed from XMind.desktop) | 7 | ||||
-rw-r--r-- | xmind.png | bin | 0 -> 29355 bytes | |||
-rw-r--r-- | xmind.xml | 10 | ||||
-rw-r--r-- | xmind_file.png | bin | 0 -> 27771 bytes |
7 files changed, 32 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = xmind pkgdesc = Brainstorming and Mind Mapping Software pkgver = 3.7.6 - pkgrel = 1 + pkgrel = 2 url = http://www.xmind.net install = xmind.install arch = i686 @@ -15,13 +15,17 @@ pkgbase = xmind source = http://www.xmind.net/xmind/downloads/xmind-8-update6-linux.zip source = XMind source = XMind.ini - source = XMind.desktop - source = XMind.png + source = xmind.desktop + source = xmind.xml + source = xmind.png + source = xmind_file.png sha512sums = 0e4871a385c8449da000ee3bcf1a44fe63075af4f592f43a01635e017ab253a996739c63f9c71f098529adf62b5df4018440c7db1c44040488c0e3186abe6248 sha512sums = SKIP sha512sums = SKIP sha512sums = SKIP sha512sums = SKIP + sha512sums = SKIP + sha512sums = SKIP pkgname = xmind @@ -12,7 +12,7 @@ JAVA_VERSION=8 pkgname=xmind pkgver=3.7.6 _filename=$pkgname-8-update6-linux -pkgrel=1 +pkgrel=2 pkgdesc="Brainstorming and Mind Mapping Software" arch=('i686' 'x86_64') url="http://www.xmind.net" @@ -25,12 +25,16 @@ install='xmind.install' source=("http://www.xmind.net/xmind/downloads/${_filename}.zip" 'XMind' 'XMind.ini' -'XMind.desktop' -'XMind.png') +'xmind.desktop' +'xmind.xml' +'xmind.png' +'xmind_file.png') sha512sums=('0e4871a385c8449da000ee3bcf1a44fe63075af4f592f43a01635e017ab253a996739c63f9c71f098529adf62b5df4018440c7db1c44040488c0e3186abe6248' 'SKIP' 'SKIP' 'SKIP' +'SKIP' +'SKIP' 'SKIP') package() { @@ -38,7 +42,7 @@ package() { cp -r ${srcdir}/configuration ${pkgdir}/usr/share/${pkgname}/ cp -r ${srcdir}/features ${pkgdir}/usr/share/${pkgname}/ cp -r ${srcdir}/plugins ${pkgdir}/usr/share/${pkgname}/ - cp ${srcdir}/*.html ${pkgdir}/usr/share/${pkgname}/ + cp ${srcdir}/*.html ${pkgdir}/usr/share/${pkgname}/ cp ${srcdir}/*.xml ${pkgdir}/usr/share/${pkgname}/ cp ${srcdir}/*.txt ${pkgdir}/usr/share/${pkgname}/ if [[ "$CARCH" == "i686" ]]; then @@ -49,9 +53,11 @@ package() { mkdir -p ${pkgdir}/usr/share/fonts/${pkgname} cp -r ${srcdir}/fonts ${pkgdir}/usr/share/fonts/${pkgname}/ mkdir -p ${pkgdir}/usr/share/applications - cp ${srcdir}/XMind.desktop ${pkgdir}/usr/share/applications/ + cp ${srcdir}/xmind.desktop ${pkgdir}/usr/share/applications/ + mkdir -p ${pkgdir}/usr/share/mime/packages + cp ${srcdir}/xmind.xml ${pkgdir}/usr/share/mime/packages/ mkdir -p ${pkgdir}/usr/share/pixmaps - cp ${srcdir}/XMind.png ${pkgdir}/usr/share/pixmaps/ + cp ${srcdir}/*.png ${pkgdir}/usr/share/pixmaps/ # fix configuration cp ${srcdir}/XMind.ini ${pkgdir}/usr/share/${pkgname}/XMind/ if [[ "$CARCH" == "i686" ]]; then diff --git a/XMind.png b/XMind.png Binary files differdeleted file mode 100644 index 21353712d557..000000000000 --- a/XMind.png +++ /dev/null diff --git a/XMind.desktop b/xmind.desktop index a6b3b6f90562..b92ce707c278 100644 --- a/XMind.desktop +++ b/xmind.desktop @@ -1,10 +1,9 @@ [Desktop Entry] Type=Application -Version=3.7.5 -Encoding=UTF-8 Name=XMind -Comment=Launch XMind 8 Update 5 -Icon=XMind +GenericName=Brainstorming and Mind Mapping Software +Comment=Launch XMind 8 Update 6 +Icon=xmind Exec=XMind Terminal=false StartupNotify=true diff --git a/xmind.png b/xmind.png Binary files differnew file mode 100644 index 000000000000..3ee5b14a238f --- /dev/null +++ b/xmind.png 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> diff --git a/xmind_file.png b/xmind_file.png Binary files differnew file mode 100644 index 000000000000..a3be5659b66b --- /dev/null +++ b/xmind_file.png |