summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3765c63edb197643748c58b9a709e6764ad4983 (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
pkgname=ossutil-bin
_pkgname=ossutil
pkgver=1.7.17
pkgrel=1
pkgdesc="This tool aims to provide a convenient-to-use command line for users to manage data in OSS."
url="https://github.com/aliyun/ossutil"

conflicts=('ossutil')
depends=('glibc')
provides=('ossutil')
license=('MIT')
arch=('x86_64')

source=(
  "LICENSE::https://raw.githubusercontent.com/aliyun/${_pkgname}/master/LICENSE"
  "${_pkgname}::https://gosspublic.alicdn.com/${_pkgname}/${pkgver}/${_pkgname}64"
)

sha256sums=(
  '5dee8031676245920361e38dde7cc4d91f2b063f1c5a2b2a66cab1c008845b0b'
  'ba8703fc49bb95e0ea91954b8447c03b583a6b07988180f9b9efc4ddafee6864'
)

package() {
  install -D -m 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
  install -D -m 755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}