blob: cc701ac3704c52c541edfc475121dac776176fac (
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
32
33
|
# Maintainer: maoyaotang <292898660@qq.com>
pkgname=cn.i4tools-bin
_pkgname=i4tools
pkgver=v3.06.006
pkgrel=2
pkgdesc='简单好用的多功能苹果设备管理助手。'
arch=('x86_64')
url="https://www.i4.cn/pro_pc.html"
license=('custom')
depends=('git')
source=(
"i4tools_v3.06.006.rpm::https://d-updater.i4.cn/i4linux/deb/${_pkgname}_${pkgver}.rpm"
"cn.i4Tools.desktop"
"run.sh"
"LICENSE.txt::https://www.i4.cn/copyright.html"
)
sha256sums=('298c9dc6543b837edbaa8ed7856b743d8cba179e3c1724d9ca7d7505d9e8fe98'
'c39f1408107cd69076a37d14326609fb8773717914b5ee335cb039e0bd66e1ed'
'b7fc9c90852ce99769fb31352e33d387cb8fe8ea3ec4c6a745c73cfd719020b7'
'f3cc70ece76bae973291aa37ced5a48da64360ec4860e8549240a5f6cd3babd4')
package() {
install -m755 -d "${pkgdir}/opt/cn.i4Tools"
install -m755 -d "${pkgdir}/usr/share/pixmaps"
install -m755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
install -m755 -d "${pkgdir}/usr/bin"
install -Dm755 ../run.sh "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 ../cn.i4Tools.desktop "$pkgdir"/usr/share/applications/cn.i4Tools.desktop
cp -r "${srcdir}/opt/apps/cn.i4Tools" "${pkgdir}/opt/"
install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "${srcdir}/opt/apps/cn.i4Tools/resources"
cp logo.png "$pkgdir"/usr/share/pixmaps/i4tools.png
cp logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/i4tools.svg
}
|