diff options
author | Pacho Ramos <pacho@gentoo.org> | 2020-02-22 17:01:32 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2020-02-22 17:01:32 +0100 |
commit | 9b597c38e2f394c05c8b9c402b1cccf4ba056dea (patch) | |
tree | 2a5bc566450b2c147d7c71cd8c898dcec1a3004d /app-backup/synology-cloud-station-backup | |
parent | profiles/license_groups: Add WPS-EULA to EULA group (diff) | |
download | gentoo-9b597c38e2f394c05c8b9c402b1cccf4ba056dea.tar.gz gentoo-9b597c38e2f394c05c8b9c402b1cccf4ba056dea.tar.bz2 gentoo-9b597c38e2f394c05c8b9c402b1cccf4ba056dea.zip |
app-backup/synology-cloud-station-backup: Add synology-cloud-station-backup
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-backup/synology-cloud-station-backup')
3 files changed, 53 insertions, 0 deletions
diff --git a/app-backup/synology-cloud-station-backup/Manifest b/app-backup/synology-cloud-station-backup/Manifest new file mode 100644 index 000000000000..355182f95be6 --- /dev/null +++ b/app-backup/synology-cloud-station-backup/Manifest @@ -0,0 +1,2 @@ +DIST synology-cloud-station-backup-4450.i686.deb 70673598 BLAKE2B 99cba6612e778d3639439f5c59037c87bdd03f87f8c19f1f33d4ef6548341481c3326cd3c5eb97aaea9cb966bad8047d6e3f300c5cf6730a14f8b4b1822fa4cb SHA512 e2321180f9de3736e1ec7020b7dca6092cf85a90ae3fe795a6da4825e9a9989e9b6a268072d831cf8cd4f73557728f79a42c4ff86726737234c50f2503e6b93b +DIST synology-cloud-station-backup-4450.x86_64.deb 71439298 BLAKE2B 09743a246d95e95f283575a50cead5600dc03068e19e92b8c0d965275efd9fdb633ac7be6648a97137eacb988a9bfa33d74682c8e6c582e39d7f09b608065ba2 SHA512 dda1ec9368f1292b2bdd46dec57b4f228166bf55e41acb584a2090df5158724dbb4b8aac3d62b51ffdbb0c93350f8300c14f932705e707521288cf8e2dd04448 diff --git a/app-backup/synology-cloud-station-backup/metadata.xml b/app-backup/synology-cloud-station-backup/metadata.xml new file mode 100644 index 000000000000..020b40648ee8 --- /dev/null +++ b/app-backup/synology-cloud-station-backup/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pacho@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-backup/synology-cloud-station-backup/synology-cloud-station-backup-4450.ebuild b/app-backup/synology-cloud-station-backup/synology-cloud-station-backup-4450.ebuild new file mode 100644 index 000000000000..0e67bbf426c0 --- /dev/null +++ b/app-backup/synology-cloud-station-backup/synology-cloud-station-backup-4450.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit xdg + +SVER="4.3.2" + +DESCRIPTION="Back up your files from multiple client computers to a centralized Synology NAS" +HOMEPAGE="https://www.synology.com/en-global/releaseNote/CloudStationBackup" +SRC_URI=" + amd64? ( https://global.download.synology.com/download/Tools/CloudStationBackup/${SVER}-${PV}/Ubuntu/Installer/x86_64/synology-cloud-station-backup-${PV}.x86_64.deb ) + x86? ( https://global.download.synology.com/download/Tools/CloudStationBackup/${SVER}-${PV}/Ubuntu/Installer/i686/synology-cloud-station-backup-${PV}.i686.deb ) +" + +LICENSE="Synology" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +RESTRICT="bindist mirror strip" +S="${WORKDIR}" + +src_unpack() { + default + unpack "${WORKDIR}"/data.tar.xz + + # Allow provided docs are useless + rm -r usr/share/doc || die +} + +src_install() { + insinto / + doins -r opt/ + doins -r usr/ + + # Fix permissions + chmod +x "${ED}"/usr/bin/* || die + chmod +x "${ED}"/opt/Synology/CloudStationBackup/bin/* || die +} |