summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cfcdd6a9e6f184adb1b574c270ba9f0442f5d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: levinit <levinit at outlook>

pkgname=mockingbot
pkgver=0.7.6
pkgrel=1
pkgdesc="A prototyping & collaboration tool.墨刀/modao/MockingBot"
arch=('x86_64')
url="https://mockingbot.com/downloads"
license=('custom')
depends=('gconf')

source=("https://cdn.modao.cc/linux/mockingbot_${pkgver}_amd64.deb")
sha512sums=('SKIP')

package() {
    tar -xvf data.tar.xz -C ${pkgdir}

    #edit app's desktop file
    echo -e '
Name[zh_CN]=墨刀
Name[zh_TW]=墨刀
Name[zh_HK]=墨刀
Name[zh_SG]=墨刀
Comment[zh_CN]=原型设计工具
Comment[zh_TW]=原型設計工具
Comment[zh_HK]=原型設計工具
Comment[zh_SG]=原型设计工具' >>${pkgdir}/usr/share/applications/mockingbot.desktop

    chmod -R go-w "${pkgdir}"/usr
    install -dm755 "${pkgdir}/usr/bin"
}