summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf744d4174c6b3d2a9cc4fe470603db80af7fafb (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
# Maintainer: hondge <yzzshmily@gmail.com>
pkgname=oss-browser-aliyun
pkgver=1.19.0
pkgrel=1
pkgdesc="ossbrowser是阿里云官方提供的OSS图形化管理工具,提供类似Windows资源管理器的功能"
arch=('x86_64')
url="https://github.com/aliyun/oss-browser"
license=('Apache License 2.0')
depends=('gconf' 'unzip' 'fakeroot' 'gtk2')
makedepends=('tar')
source=(
"https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/${pkgver}/oss-browser-linux-x64.zip"
oss-browser.desktop
)
sha512sums=(
'c62445b376708fe87405a87e112a7a2f7c06624c813677d7b8bf74453bb64e86ea3c63e799fed8318c9f544055e97eb701e8a9e1524e585dabbe7e20361c46c2'
'578ea18a8116cb919f8f66caa570bbab9f38ad2cd507f5188c30f2e6f30ae3354135633e2f1a7bc4612d9bb4f167f10d64b1e32e3ac325eba8ccb0b368aa32cd'
)

package() {
    msg "解压软件包..."
    mkdir -p ${pkgdir}/opt/oss-browser
    unzip -d ${pkgdir}/opt/oss-browser ${srcdir}/oss-browser-linux-x64.zip
    cp -r ${pkgdir}/opt/oss-browser/oss-browser-linux-x64/* ${pkgdir}/opt/oss-browser
    msg "创建图标..."
    mkdir -p ${pkgdir}/usr/share/applications
    cp -r ${srcdir}/oss-browser.desktop ${pkgdir}/usr/share/applications
    rm -rf ${pkgdir}/opt/oss-browser/oss-browser-linux-x64
}