summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlevinit2019-10-10 13:25:13 +0800
committerlevinit2019-10-10 13:25:13 +0800
commita88833a2a17bcbef2aa97e8878f17e2411affe88 (patch)
tree8a4c3f923afc6a08899da9ff500812a84eec08e9
parent08ecf33671c2d7179a7af4ae544b0856378cced2 (diff)
downloadaur-a88833a2a17bcbef2aa97e8878f17e2411affe88.tar.gz
ver 0.7.6
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 6 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4de8577f20a5..aacb3a60e70a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = mockingbot
pkgdesc = A prototyping & collaboration tool.墨刀/modao/MockingBot
- pkgver = 0.7.1
+ pkgver = 0.7.6
pkgrel = 1
url = https://mockingbot.com/downloads
arch = x86_64
license = custom
depends = gconf
- source = https://s3.cn-north-1.amazonaws.com.cn/modao/linux/MockingBot_amd64.deb
+ source = https://cdn.modao.cc/linux/mockingbot_0.7.6_amd64.deb
sha512sums = SKIP
pkgname = mockingbot
diff --git a/PKGBUILD b/PKGBUILD
index 5abde3ef6337..1cfcdd6a9e6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: levinit <levinit at outlook>
pkgname=mockingbot
-pkgver=0.7.1
+pkgver=0.7.6
pkgrel=1
pkgdesc="A prototyping & collaboration tool.墨刀/modao/MockingBot"
arch=('x86_64')
@@ -9,19 +9,13 @@ url="https://mockingbot.com/downloads"
license=('custom')
depends=('gconf')
-
-source=("https://s3.cn-north-1.amazonaws.com.cn/modao/linux/MockingBot_amd64.deb")
+source=("https://cdn.modao.cc/linux/mockingbot_${pkgver}_amd64.deb")
sha512sums=('SKIP')
package() {
tar -xvf data.tar.xz -C ${pkgdir}
- cp -r ${pkgdir}/usr/bin/MockingBot ${pkgdir}/usr/bin/mockingbot
-
#edit app's desktop file
- sed -i 's/Exec=MockingBot/Exec=mockingbot/' ${pkgdir}/usr/share/applications/MockingBot.desktop
- sed -i 's/Comment=MockingBot/Comment=Prototyping design tool/' ${pkgdir}/usr/share/applications/MockingBot.desktop
- sed -i 's/Categories=utils;/Categories=Development;Graphics;/' ${pkgdir}/usr/share/applications/MockingBot.desktop
echo -e '
Name[zh_CN]=墨刀
Name[zh_TW]=墨刀
@@ -30,8 +24,8 @@ Name[zh_SG]=墨刀
Comment[zh_CN]=原型设计工具
Comment[zh_TW]=原型設計工具
Comment[zh_HK]=原型設計工具
-Comment[zh_SG]=原型设计工具' >> ${pkgdir}/usr/share/applications/MockingBot.desktop
+Comment[zh_SG]=原型设计工具' >>${pkgdir}/usr/share/applications/mockingbot.desktop
chmod -R go-w "${pkgdir}"/usr
install -dm755 "${pkgdir}/usr/bin"
-} \ No newline at end of file
+}