diff options
author | FFY00 | 2018-07-10 13:47:21 +0100 |
---|---|---|
committer | FFY00 | 2018-07-10 13:47:21 +0100 |
commit | 7e94a1173f35695919fc0202dbe85c48e1a9fc01 (patch) | |
tree | 6e74647bf05655df7e074f1255aa761dd3cdab52 | |
parent | 96b216b82ab39f2ecfdd7cc8a8eba2461425d116 (diff) | |
download | aur-7e94a1173f35695919fc0202dbe85c48e1a9fc01.tar.gz |
pkgbuild: fix license
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | synology-cloud-station-drive.install | 12 |
3 files changed, 4 insertions, 16 deletions
@@ -3,10 +3,9 @@ pkgbase = synology-cloud-station-drive pkgver = 4.2.7.4415 pkgrel = 1 url = https://www.synology.com/en-global/releaseNote/CloudStationDrive - install = synology-cloud-station-drive.install arch = i686 arch = x86_64 - license = unknown + license = Custom optdepends = nautilus: For nautilus integration source_i686 = https://global.download.synology.com/download/Tools/CloudStationDrive/4.2.7-4415/Ubuntu/Installer/i686/synology-cloud-station-drive-4415.i686.deb sha256sums_i686 = 9a7b088d26edc3f53928818dd48a244cc75c0afd552231c67046692781e7e786 @@ -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 } diff --git a/synology-cloud-station-drive.install b/synology-cloud-station-drive.install deleted file mode 100644 index 4d4a283dba5c..000000000000 --- a/synology-cloud-station-drive.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |