summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxionl2019-07-22 22:56:41 +0800
committeraxionl2019-07-22 22:56:41 +0800
commit283ea39dbec477a0189b788c0f18414179997791 (patch)
treef9c05c978f9d0096c63687f35bbc5ee62aa0f43d
parent8628e205dfca69d5a6e8f33a446b6e6cede70e4e (diff)
downloadaur-283ea39dbec477a0189b788c0f18414179997791.tar.gz
[Update] baidunetdisk-bin: modify the name of baidunetdisk-wrapper.sh to baidunetdisk
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3fbfdfde3c2..8c5cb538c2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = baidunetdisk-bin
pkgdesc = Baidu Net Disk is a cloud storage client (Linux Version).
pkgver = 2.0.1
- pkgrel = 3
+ pkgrel = 4
url = https://pan.baidu.com
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 7ec76ccd66c..b9c675c28ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=baidunetdisk
pkgname=baidunetdisk-bin
pkgver=2.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Baidu Net Disk is a cloud storage client (Linux Version)."
arch=('x86_64')
depends=('libxss' 'gtk3' 'nss')
@@ -40,8 +40,7 @@ package() {
mv "usr" "${pkgdir}"
install -dm755 "${pkgdir}/usr/bin" "${pkgdir}/usr/lib"
mv "opt/${_pkgname}" "${pkgdir}/usr/lib/${_pkgname}"
- ln -s "../lib/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin"
- install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/baidunetdisk-wrapper.sh"
+ install -Dm755 "${srcdir}/baidunetdisk-wrapper.sh" "${pkgdir}/usr/bin/baidunetdisk"
# fix promission
chmod 644 "${pkgdir}/usr/lib/${_pkgname}/"*.so