Version bump.
This commit is contained in:
parent
19cb0a64f4
commit
e95036bd35
1 changed files with 64 additions and 0 deletions
64
app-office/insync/insync-3.8.1.50459.ebuild
Normal file
64
app-office/insync/insync-3.8.1.50459.ebuild
Normal file
|
@ -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}-kinetic_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
|
||||
}
|
Loading…
Reference in a new issue