summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFFY002018-07-10 13:47:21 +0100
committerFFY002018-07-10 13:47:21 +0100
commit7e94a1173f35695919fc0202dbe85c48e1a9fc01 (patch)
tree6e74647bf05655df7e074f1255aa761dd3cdab52 /PKGBUILD
parent96b216b82ab39f2ecfdd7cc8a8eba2461425d116 (diff)
downloadaur-7e94a1173f35695919fc0202dbe85c48e1a9fc01.tar.gz
pkgbuild: fix license
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5fb80c3520dd..77ccf3c57f8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,9 +8,8 @@ pkgrel=1
pkgdesc="An application which sync files between your computers and Synology NAS"
arch=('i686' 'x86_64')
url="https://www.synology.com/en-global/releaseNote/CloudStationDrive"
-license=('unknown')
+license=('Custom')
optdepends=('nautilus: For nautilus integration')
-install=synology-cloud-station-drive.install
source_x86_64=(https://global.download.synology.com/download/Tools/CloudStationDrive/${_rver}-${_iver}/Ubuntu/Installer/x86_64/synology-cloud-station-drive-${_iver}.x86_64.deb)
sha256sums_x86_64=('9caeff7d7a5331150531a2dda492a74672082550d57463c8d122452dcb7bc5d7')
source_i686=(https://global.download.synology.com/download/Tools/CloudStationDrive/${_rver}-${_iver}/Ubuntu/Installer/i686/synology-cloud-station-drive-${_iver}.i686.deb)
@@ -27,4 +26,6 @@ package() {
install -Dm755 usr/lib/nautilus/extensions-3.0/libnautilus-cloud-extension.so "$pkgdir"/usr/lib/nautilus/extensions-3.0/libnautilus-cloud-extension.so
install -Dm755 usr/bin/synology-cloud-station-drive "$pkgdir"/usr/bin/synology-cloud-station-drive
install -Dm644 usr/share/applications/synology-cloud-station-drive.desktop "$pkgdir"/usr/share/applications/synology-cloud-station-drive.desktop
+
+ install -Dm644 "$srcdir"/opt/Synology/CloudStation/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}