diff --git a/app-office/insync/Manifest b/app-office/insync/Manifest index 97797c5..1c106f5 100644 --- a/app-office/insync/Manifest +++ b/app-office/insync/Manifest @@ -1,4 +1,6 @@ AUX insync-3-fix-ca-path.patch 396 BLAKE2B 2330edb2eb8f5a33d5038d23f34fced46689eccae4e36ed7780b12d9776defe0d597041c81acab37c98c49b0b38891dde6d284659673617185e859e4d101a08a SHA512 00dccaebfc7d24625f5aa2a49d7475444fc5d800dffc35704458ca2de6055f7c85a2f64a1e5a9dc7c14d6bccaa4977289f8e8ed7547211cab2697d8f57c4a66d AUX insync-3-lib64.patch 264 BLAKE2B 054b7af18486a36a50d0f15054a9aab3addf5cf6c6fac417fa25fd096e0f8fb0f08d9453a09fd5d11203fda1f6c1669312f953097bb159c8211b12261b3ac4ae SHA512 8d5b1debbe8f433a3bdc52a337f637a33103ff6800888c2722dc8d740911847ce95ec05d874f3113c34a03a247877a4330d40a1523407ae460e77bc7e17b5297 DIST insync_3.4.3.40990-buster_amd64.deb 132483346 BLAKE2B 68b86619107360809ae1ee7efde6a52b965eb51c12eb53c4fdc10e4e94b814a860c7eb8450c56e3e42115d65b622ab4c268dbe80b583f31e79be0c425562b254 SHA512 3a6a1bbe11fb29d26f203bf3f0f8a986fa89bf3eff7893aef1393bb4eec166c20d2d81dde1d49a370074402259db9c7bc75fc5ba44ca3f008f966abb14e82cfe +DIST insync_3.5.1.50115-buster_amd64.deb 132786414 BLAKE2B 0891df29bc7b4f7e346f2a5afa4c80f3368a14b417cd98df5f338ebd734e2f95ff61d2012959e74a97920b509fd94381077f9a6814dd06f72912d2a53fe4a655 SHA512 e374dfb7b5e4215ac94534b3be040df272e7755fbddfe8abf0eab2169bd84093bdda214346c02d0bd192052db08461cf113bc4fa90b4fd01442793c7da800315 EBUILD insync-3.4.3.40990.ebuild 1428 BLAKE2B 2acdf725bb685971f27cfc2815cada27bef8ba20e7ea09e08e155b73c6ffcc37c389a4cb2399f267f38a39404b886846e012f3b0201ea7a3801dccaf95b9bc16 SHA512 624a5fc6020d8f01321fbb273d16f960066434710bca01a826673cb0b348e394d31c6af12c03d49da4b856daeb56ee1e542a7d7d6c261d8ebb6f277e6e8abacf +EBUILD insync-3.5.1.50115.ebuild 1428 BLAKE2B 2acdf725bb685971f27cfc2815cada27bef8ba20e7ea09e08e155b73c6ffcc37c389a4cb2399f267f38a39404b886846e012f3b0201ea7a3801dccaf95b9bc16 SHA512 624a5fc6020d8f01321fbb273d16f960066434710bca01a826673cb0b348e394d31c6af12c03d49da4b856daeb56ee1e542a7d7d6c261d8ebb6f277e6e8abacf diff --git a/app-office/insync/insync-3.5.1.50115.ebuild b/app-office/insync/insync-3.5.1.50115.ebuild new file mode 100644 index 0000000..0ba5c40 --- /dev/null +++ b/app-office/insync/insync-3.5.1.50115.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm xdg-utils + +DESCRIPTION="Advanced cross-platform Google Drive and Microsoft OneDrive client" +HOMEPAGE="https://www.insynchq.com/" + +SRC_URI="http://s.insynchq.com/builds/insync_${PV}-buster_amd64.deb" + +RESTRICT="strip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + >=sys-libs/glibc-2.29 +" +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}/insync-3-fix-ca-path.patch" + "${FILESDIR}/insync-3-lib64.patch" +) + +src_unpack() { + unpack "insync_${PV}-buster_amd64.deb" + unpack ${WORKDIR}"/data.tar.gz" + + mkdir -p "${S}" + mv "${WORKDIR}"/usr "${S}"/ +} + +src_install() { + gzip -d usr/share/doc/insync/changelog.gz + dodoc usr/share/doc/insync/changelog + rm -rf "${WORKDIR}"/"${P}"/usr/share/doc/ + + cp -pPR "${WORKDIR}"/"${P}"/usr/ "${D}"/ || die "Installation failed" + mv "${D}"/usr/lib "${D}"/usr/lib64 + rm -Rf "${D}"/usr/lib64/.build-id + gunzip "${D}"/usr/share/man/man1/insync.1.gz + + echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70-${PN}" || die + + insinto "/etc/revdep-rebuild" && doins "${T}/70-${PN}" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +}