summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a3c0793dece5..a2edf4f38ed3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = 360cloud
- pkgdesc = 360 Cloud Drive
+ pkgdesc = 360 Cloud Drive / 360 安全云盘
pkgver = 1.0.0.1010
- pkgrel = 5
+ pkgrel = 6
url = https://yunpan.360.cn/
arch = x86_64
license = custom
@@ -9,8 +9,8 @@ pkgbase = 360cloud
depends = libbsd
depends = qt5-base
depends = openssl-1.0
+ options = !strip
source = http://down.360safe.com/360eyun/360cloud-1.0.0.1010-deepin-x86_64.deb
sha512sums = deafb66697250a62825b7784b1482eb69a39f61e499c3d67c8f412dc0f6c1fcc78925183ea57f307f7c176cc9a67838fcbe00d81833e6a7e23a0574e95452a1d
pkgname = 360cloud
-
diff --git a/PKGBUILD b/PKGBUILD
index 89f25df37170..c4962c72fc28 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,15 @@
# Maintainer: Jack Chen <redchenjs@live.com>
+# Maintainer: taotieren <admin@taotieren.com>
pkgname=360cloud
pkgver=1.0.0.1010
-pkgrel=5
-pkgdesc="360 Cloud Drive"
+pkgrel=6
+pkgdesc="360 Cloud Drive / 360 安全云盘"
arch=('x86_64')
url="https://yunpan.360.cn/"
license=('custom')
+backup=()
+options=('!strip')
depends=(
'curl'
'libbsd'
@@ -14,14 +17,14 @@ depends=(
'openssl-1.0'
)
source=(
- "http://down.360safe.com/360eyun/360cloud-$pkgver-deepin-x86_64.deb"
+ "http://down.360safe.com/360eyun/${pkgname}-$pkgver-deepin-${arch}.deb"
)
sha512sums=(
'deafb66697250a62825b7784b1482eb69a39f61e499c3d67c8f412dc0f6c1fcc78925183ea57f307f7c176cc9a67838fcbe00d81833e6a7e23a0574e95452a1d'
)
package() {
- tar -xf "$srcdir/data.tar.xz" -C "$pkgdir/"
+ tar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}/"
- ln -sf /opt/360cloud/360cloud "$pkgdir/usr/bin/360cloud"
+ ln -sf "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}