summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07d7be652c608c0519fcfa3bfde1ea5f8b378e75 (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
# Maintainer: bilabila <bilabila@qq.com>
pkgname=ocp-setup
pkgver=1.4
pkgrel=3
pkgdesc='oceanbase cloud platform setup'
arch=(x86_64)
url=https://oceanbase.alipay.com/docs
provides=($pkgname)
conflicts=($pkgname)
depends=(java-openjfx)
source=('https://gw.alipayobjects.com/os/downloads/ossupload/ocp-release.zip'
$pkgname)
sha512sums=(SKIP
47e69cb025eda1607a3bd721a4b236a972fd5a37c18883168d0b78d65ca134884efbf876206fc577938fba5b951a31bca9ae70393874cd6171fb2f38030fa175)
install=$pkgname.install
package() {
    cd ocp-release
    d="$pkgdir"/usr/share/$pkgname
    for i in *;do
        install -Dm644 "$i" "$d"/"$i"
    done
    install -Dm755 "$srcdir"/$pkgname \
        "$pkgdir"/usr/bin/$pkgname
}