summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane2019-06-20 08:25:03 +0800
committerShane2019-06-20 08:25:03 +0800
commit7f1a97561e36ca32cf1aa2fbe3ebc45639fc0363 (patch)
tree05011c32c6753f249e882105ae20c73c39998ccb
parent019724c2a882d4e3e2b8fd806bd970c3f6aa8634 (diff)
downloadaur-7f1a97561e36ca32cf1aa2fbe3ebc45639fc0363.tar.gz
更新与2019年06月
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD53
2 files changed, 30 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51ceeb6d9a59..7db5268ab335 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = xmind-zen
- pkgdesc = XMind - The most popular mind mapping software
- pkgver = 201807162014
- pkgrel = 3
- url = http://www.xmind.net
+ pkgdesc = xmind zen converted from .rpm package
+ pkgver = 2019
+ pkgrel = 06
+ url = https://www.xmind.cn/
arch = x86_64
- license = EPL
- license = LGPL
- depends = electron2
- provides = xmind
- conflicts = xmind
- source = https://dl3.xmind.net/XMind-ZEN-for-Linux-64bit.rpm
- sha256sums = 0ded9e1bcf15a7cb1aa4c2e364c6b627f1e0cc68c976b850ee9737a35123bc1d
+ license = custom
+ options = !strip
+ source = http://dl2.xmind.cn/XMind-ZEN-for-Linux-64bit.rpm
+ source = https://www.xmind.cn/terms/index.html
+ md5sums = fe6357e885b72400a597416ac3d0f314
+ md5sums = SKIP
pkgname = xmind-zen
diff --git a/PKGBUILD b/PKGBUILD
index 9e53543523d3..1a17531c435d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,25 @@
-# Maintainer: Bruce Zhang
-# Contributor: RemiliaForever <remilia AT koumakan DOT cc>
-
+# Maintainer: Shane <lyx_shane@outlook.com>
pkgname=xmind-zen
-pkgver=201807162014
-pkgrel=3
-pkgdesc="XMind - The most popular mind mapping software"
-arch=('x86_64')
-url="http://www.xmind.net"
-license=('EPL' 'LGPL')
-depends=('electron2')
-provides=('xmind')
-conflicts=('xmind')
-source=("https://dl3.xmind.net/XMind-ZEN-for-Linux-64bit.rpm")
-sha256sums=('0ded9e1bcf15a7cb1aa4c2e364c6b627f1e0cc68c976b850ee9737a35123bc1d')
-
-prepare() {
- sed -i 's/"\/opt\/XMind ZEN\/XMind"/XMind/' "$srcdir/usr/share/applications/XMind.desktop"
- echo "#!/usr/bin/env sh
-exec electron2 /usr/share/xmind-zen/app \$@
-" > "$srcdir/XMind.sh"
-}
+pkgver=2019
+pkgrel=06
+pkgdesc="xmind zen converted from .rpm package"
+arch=("x86_64")
+url="https://www.xmind.cn/"
+license=('custom')
+depends=()
-package() {
- # Install resources
- cd "$srcdir/opt/XMind ZEN/resources/app"
- find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/xmind-zen/app/{}" \;
+source=(
+ "http://dl2.xmind.cn/XMind-ZEN-for-Linux-64bit.rpm"
+ "https://www.xmind.cn/terms/index.html"
+)
- # Install start script
- install -Dm755 "$srcdir/XMind.sh" "$pkgdir/usr/bin/XMind"
+md5sums=('fe6357e885b72400a597416ac3d0f314'
+ 'SKIP')
- # Install desktop file
- install -Dm644 "$srcdir/usr/share/applications/XMind.desktop" "$pkgdir/usr/share/applications/XMind.desktop"
+options=('!strip')
- # Install icons
- cd "$srcdir/usr/share/icons/hicolor"
- find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/icons/hicolor/{}" \;
-}
+package() {
+ cd ${srcdir}
+ cp -r opt usr ${pkgdir}
+ install -Dm644 index.html ${pkgdir}/usr/share/licenses/$pkgname/license.html
+} \ No newline at end of file