Skip to content

Instantly share code, notes, and snippets.

@kasperis7
Created October 31, 2021 01:57
Show Gist options
  • Save kasperis7/e29f580d6872b9cd6dbed070b035ea79 to your computer and use it in GitHub Desktop.
Save kasperis7/e29f580d6872b9cd6dbed070b035ea79 to your computer and use it in GitHub Desktop.
PKGBUILD for synology-drive 3.0.1_12682
# Maintainer: Felipe Martin <[email protected]>
pkgname="synology-drive"
pkgver="3.0.1_12682"
pkgrel="1"
pkgdesc="Drive for PC, the desktop utility of the DSM add-on package, Drive, allows you to sync and share files owned by you or shared by others between a centralized Synology NAS and multiple client computers."
arch=('i686' 'x86_64')
url="https://www.synology.com"
license=('custom')
depends=('glibc' )
optdepends=('nautilus: For nautilus integration' )
conflicts=()
source=()
md5sums=()
source_i686=(https://global.download.synology.com/download/Utility/SynologyDriveClient/3.0.2-12682/Ubuntu/Installer/i686/synology-drive-client-12682.i686.deb)
md5sums_i686=('3bd9a43774551e50062da596959ffae8')
source_x86_64=(https://global.download.synology.com/download/Utility/SynologyDriveClient/3.0.2-12682/Ubuntu/Installer/x86_64/synology-drive-client-12682.x86_64.deb)
md5sums_x86_64=('d1ff4105630fa710b6175af04ea45119')
package() {
cd "${srcdir}"
tar -xJf data.tar.xz -C "${pkgdir}"
ls "${pkgdir}"
install -Dm 644 "${pkgdir}"/opt/Synology/SynologyDrive/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment