diff options
-rw-r--r-- | app-backup/insync-bin/Manifest | 6 | ||||
-rw-r--r-- | app-backup/insync-bin/insync-bin-1.3.2-r1.ebuild | 38 | ||||
-rw-r--r-- | app-backup/insync-bin/insync-bin-1.3.2.ebuild | 65 |
3 files changed, 41 insertions, 68 deletions
diff --git a/app-backup/insync-bin/Manifest b/app-backup/insync-bin/Manifest index dab83b4..f6da786 100644 --- a/app-backup/insync-bin/Manifest +++ b/app-backup/insync-bin/Manifest @@ -1,3 +1,3 @@ -DIST insync_1.3.2.36049-trusty_amd64.deb 57325856 SHA256 0eb1828ee714bfa34cd2cabb1f6f35531422b7b70106fbee2e49092d6cbed2a6 SHA512 3bdb48dd94eacd829a20a0acfdb90a60cacea468266b68095113ba5712fa0f0965af811fddd1aa1e3fb6e936dc73ce41b4723c38cd12afa35835c3ac9602b63e WHIRLPOOL db7fa49cb097f81a2d7fa1c14445e7ae93a3aaaa8cd03ee178ea1cf28664181c9a67c52030baab4782bbe58c039b44f1d77f586918a6ebd87a2a595469040536 -DIST insync_1.3.2.36049-trusty_i386.deb 57610024 SHA256 116704a89525eba58363661bbf6f3c84493c01b375b77feff8cee786a800cd4f SHA512 3007cf357bdef7ef1bbc82c440c66ccbb270ed7660b18fcb83625bd5b63136129f739855d1934ef7ce7f757f9e55698f0dcdb148b3e8bedbf363b1350f1b02e7 WHIRLPOOL 10791e26de572b55d9fe363763b9eec81b70af9b98cbcd08abb369391cc07803aa6ba3e99ff801b9138d83f0d6deb4d27f9ef67778185869590fe0f00d1641e5 -EBUILD insync-bin-1.3.2.ebuild 2072 SHA256 a3d68ae69b1640d379da2d350cbf9e7904a6db95166997c080e0ef03c4752324 SHA512 4a2dba823f6852c311569d29fd99976f06a29991a2b11c2456dc64379be0a3bbbeb33a6fcf5078eb4a83a5d16f4fa551a52814f70a7bdb8a37549626fb5f39dc WHIRLPOOL c916e61121d3592d51fc4217a7f238a6a2a936451216e4f8942f8a353f11c0dd945695e99e773df5ace8bc9a48057c8e502b8700a754719af409a2a6130ad40b +DIST insync-1.3.2.36049-fc21.i686.rpm 66532817 SHA256 68fa8028562e04cff4b8a736294b08c8dc77b58e20014cfe91e4fe5598eaca48 SHA512 bd316b0322ce1f200f7e72484eccfebdfd46c1599fc27b9191b3984494ae52f24b559faf380afa5f4bbf23ab26a50b4b9c04cc07c97117e67af916dd74099648 WHIRLPOOL a94bdf383b4570a10b476bd065415b0048cdef4778546dfad70124497afa87014ba2b00f529ac0287fb7ca95622c5f444af217ee57078dbf3e1d64830acf1357 +DIST insync-1.3.2.36049-fc21.x86_64.rpm 65617399 SHA256 965fa563d3ae6851d351b5e97e3e91c79a4b756f7b34da3549f6d15cd6b26b68 SHA512 bc0b97737d0b2b872de7781843b7b3b5d51df7fc5601bd333ba9138d895afeed34bc872a6843e205e1df9273f26fd87599d78750e8530ab20a9d3a08e986659a WHIRLPOOL c347d99ff7933cc862da62eb4136e277aef3f1c6ce7172ab2485fcc985c4e2bc21928728db70b293f23ce60939300c95d1847ac6e19b9f724137c604c8e7aedc +EBUILD insync-bin-1.3.2-r1.ebuild 1025 SHA256 7ca27408ca990829d1bb782325edbf6f84ea30642aad2d2129b191055542b2db SHA512 667de18aae1a90f0c96e64355ef0b0f5786a76e4784ed48c343ccd9c2d5ac773b8553e5b6498ab1a30436a83b795d276481bc8f155b3e6111199f141f3e991ec WHIRLPOOL 174f84a3dd769f06f5892fd11f9ba9438b3f52083cd7aa35ab13463e4fef7b0b9b05565d5d879157399eadad2b551c43bc35f39878ea818c1156055534f76cfc diff --git a/app-backup/insync-bin/insync-bin-1.3.2-r1.ebuild b/app-backup/insync-bin/insync-bin-1.3.2-r1.ebuild new file mode 100644 index 0000000..2d96be1 --- /dev/null +++ b/app-backup/insync-bin/insync-bin-1.3.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit rpm + +DESCRIPTION="Advanced cross-platform Google Drive client" +HOMEPAGE="https://www.insynchq.com/" +MAGIC="36049" +MAIN_INSTALLER_STRING="http://s.insynchq.com/builds/insync-${PV}.${MAGIC}-fc21" +SRC_URI=" + x86? ( ${MAIN_INSTALLER_STRING}.i686.rpm ) + amd64? ( ${MAIN_INSTALLER_STRING}.x86_64.rpm )" + +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +DEPEND="" +RDEPEND="${DEPEND}" + +src_unpack() { + rpm_src_unpack ${A} + mkdir -p "${S}" # Without this src_prepare fails +} + +src_install() { + cp -pPR "${WORKDIR}"/{usr,etc} "${D}"/ || die "Installation failed" + + echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70${PN}" || die + insinto "/etc/revdep-rebuild" && doins "${T}/70${PN}" || die +} + +pkg_postinst() { + elog "To automatically start insync add 'insync start' to your session" + elog "startup scripts. GNOME users can also choose to enable" + elog "the insync extension via gnome-tweak-tool." +} diff --git a/app-backup/insync-bin/insync-bin-1.3.2.ebuild b/app-backup/insync-bin/insync-bin-1.3.2.ebuild deleted file mode 100644 index e997aee..0000000 --- a/app-backup/insync-bin/insync-bin-1.3.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Advanced cross-platform Google Drive client" -HOMEPAGE="https://www.insynchq.com/" -MAGIC="36049" -SRC_URI=" - x86? ( http://s.insynchq.com/builds/insync_${PV}.${MAGIC}-trusty_i386.deb ) - amd64? ( http://s.insynchq.com/builds/insync_${PV}.${MAGIC}-trusty_amd64.deb )" - #nautilus? ( http://s.insynchq.com/builds/insync-nautilus_${PV}.${MAGIC}-precise_all.deb ) - #dolphin? ( http://s.insynchq.com/builds/insync-dolphin_${PV}.${MAGIC}-precise_all.deb ) - #thunar? ( http://s.insynchq.com/builds/insync-thunar_${PV}.${MAGIC}-precise_all.deb ) - #caja? ( http://s.insynchq.com/builds/insync-caja_${PV}.${MAGIC}-precise_all.deb )" - -SLOT="0" -KEYWORDS="-* ~x86 ~amd64" -DEPEND="" -RDEPEND="${DEPEND}" - #nautilus? ( dev-python/nautilus-python ) - #dolphin? ( kde-base/dolphin ) - #thunar? ( dev-python/thunarx-python )" -# IUSE="nautilus dolphin thunar caja" - -src_unpack() { - elog "If this fails with a deb2targz error, see" - elog "https://github.com/mrpdaemon/gentoo-overlay/issues/4" - mkdir "${S}" - cd "${S}" - - if use amd64 ; then - unpack insync_"${PV}.${MAGIC}"-trusty_amd64.deb - else - unpack insync_"${PV}.${MAGIC}"-trusty_i386.deb - fi - - unpack ./data.tar.gz - - #if use nautilus ; then - # unpack insync-nautilus_"${PV}.${MAGIC}"-precise_all.deb - #elif use dolphin ; then - # unpack insync-dolphin_"${PV}.${MAGIC}"-precise_all.deb - #elif use thunar ; then - # unpack insync-thunar_"${PV}.${MAGIC}"-precise_all.deb - #elif use caja ; then - # unpack insync-caja_"${PV}.${MAGIC}"-precise_all.deb - #fi - - #unpack ./data.tar.gz -} - -src_install() { - cp -pPR "${S}"/usr "${D}"/ || die "Installation failed" - - echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70${PN}" || die - insinto "/etc/revdep-rebuild" && doins "${T}/70${PN}" || die -} - -pkg_postinst() { - elog "To automatically start insync add 'insync' to your session" - elog "startup scripts. GNOME users can also choose to enable" - elog "the insync extension via gnome-tweak-tool." -} |