summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbilabila2019-04-14 15:16:04 +0800
committerbilabila2019-04-14 15:16:04 +0800
commit3b1eb07ed1aca51a26a0172cdf694bdbd1244cf3 (patch)
tree9d934e55afeb61407856907b52ccf5e083271b85
parent03e80c2c52bb3914eb8ad00d291a6845aceea5a1 (diff)
downloadaur-3b1eb07ed1aca51a26a0172cdf694bdbd1244cf3.tar.gz
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
-rw-r--r--ocp-setup.install3
3 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53e2e55a0cc..e961e4ba1ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocp-setup
pkgdesc = oceanbase cloud platform setup
pkgver = 1.4
- pkgrel = 1
+ pkgrel = 2
url = https://oceanbase.alipay.com/docs
arch = x86_64
depends = java-openjfx
diff --git a/PKGBUILD b/PKGBUILD
index 73d27df9961..0cd49ce7e4e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,23 @@
# Maintainer: bilabila <bilabila@qq.com>
pkgname=ocp-setup
pkgver=1.4
-pkgrel=1
+pkgrel=2
pkgdesc='oceanbase cloud platform setup'
arch=(x86_64)
url=https://oceanbase.alipay.com/docs
provides=($pkgname)
depends=(java-openjfx)
-source=(https://gw.alipayobjects.com/os/downloads/ossupload/ocp-release.zip
+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
+ d="$pkgdir"/usr/share/$pkgname
for i in *;do
- install -Dm644 "$i" $d/"$i"
+ install -Dm644 "$i" "$d"/"$i"
done
- install -Dm755 $srcdir/$pkgname \
- $pkgdir/usr/bin/$pkgname
- echo -e "\n\"选择安装包\"在/usr/share/ocp-setup/\n"
+ install -Dm755 "$srcdir"/$pkgname \
+ "$pkgdir"/usr/bin/$pkgname
}
diff --git a/ocp-setup.install b/ocp-setup.install
new file mode 100644
index 00000000000..41804f01a59
--- /dev/null
+++ b/ocp-setup.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo -e "\n\"选择安装包\"在/usr/share/ocp-setup/\n"
+}