diff options
author | Jaroslav Hron <jaroslav.hron@mff.cuni.cz> | 2011-09-30 16:03:13 +0200 |
---|---|---|
committer | Jaroslav Hron <jaroslav.hron@mff.cuni.cz> | 2011-09-30 16:03:13 +0200 |
commit | fb28ce7df2ab81915507745bc3f82f78be6bfefe (patch) | |
tree | 7aec2f08889553ae0b750e558d13fbd4bceb6d1d /app-misc | |
parent | corrected path S (diff) | |
download | jxh-fb28ce7df2ab81915507745bc3f82f78be6bfefe.tar.gz jxh-fb28ce7df2ab81915507745bc3f82f78be6bfefe.tar.bz2 jxh-fb28ce7df2ab81915507745bc3f82f78be6bfefe.zip |
Mendeley 1.1 update
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/mendeleydesktop/Manifest | 2 | ||||
-rw-r--r-- | app-misc/mendeleydesktop/mendeleydesktop-1.1.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-misc/mendeleydesktop/Manifest b/app-misc/mendeleydesktop/Manifest index 723ff6a..9512905 100644 --- a/app-misc/mendeleydesktop/Manifest +++ b/app-misc/mendeleydesktop/Manifest @@ -1,5 +1,7 @@ DIST mendeleydesktop-1.0-linux-x86_64.tar.bz2 33484854 RMD160 fd812e5b980d826f460fdbf0dc3d66aab42d295f SHA1 b45209d92f3dde6b8342b807b0552653170e2b32 SHA256 04bbacffeabf5341c669a0eb1c25e0d634019738f63cbe94179ed6ed8768db6c DIST mendeleydesktop-1.0.1-linux-x86_64.tar.bz2 33487577 RMD160 63f4b626636893431bac618ac082347487379118 SHA1 4a016c31b0e295c34408de29a4cb730abf5e982b SHA256 5654aa61c64c22d07bb7c2dcecf9aad0e1c24d9f19fe0cde116f3eeb7179adcf +DIST mendeleydesktop-1.1-linux-x86_64.tar.bz2 33061205 RMD160 6b06fb9cd205a336cde4339a4a4b54f9512d686d SHA1 1060113fadcde8f74c6c7e83e6ebe14db15272cf SHA256 a357fac7fcb9783e9fb0c1309e2be6f9e46f1bc98e89c48db30d14458ba93698 EBUILD mendeleydesktop-1.0.1.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a EBUILD mendeleydesktop-1.0.ebuild 1742 RMD160 4711940050a239edaca165112232813b881cae63 SHA1 342958bb5be92c8c3dd2332e55eaaa1eb74eb021 SHA256 923362184100e359418eec5a4dc5332c3061a4cfadc8ae1a78342dc40313b06c +EBUILD mendeleydesktop-1.1.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a MISC mendeleydesktop-1.0.1.ebuild~ 1775 RMD160 a05dee4af1566d08808be948101f61db795fa926 SHA1 e2653fbd904b88b1bd81e3066b900c31da5fd385 SHA256 0626c7f507e482659821a561c7dd9d5052f1eba035ab337534d2a04bf65830a6 diff --git a/app-misc/mendeleydesktop/mendeleydesktop-1.1.ebuild b/app-misc/mendeleydesktop/mendeleydesktop-1.1.ebuild new file mode 100644 index 0000000..2fc8059 --- /dev/null +++ b/app-misc/mendeleydesktop/mendeleydesktop-1.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils + +if [ "${ARCH}" = "amd64" ] ; then + LNXARCH="linux-x86_64" +else + LNXARCH="linux-i486" +fi + +DESCRIPTION="A free research management tool for desktop & web" +HOMEPAGE="http://www.mendeley.com/" +SRC_URI="http://s3.amazonaws.com/mendeley-desktop-download/linux/${P}-${LNXARCH}.tar.bz2" + +LICENSE="Mendelay-EULA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip" +RDEPEND="dev-libs/openssl:0.9.8 + media-libs/fontconfig + media-libs/freetype + media-libs/libpng:1.2" + +S="${WORKDIR}/${P}-${LNXARCH}" + +MENDELEY_INSTALL_DIR="/opt/${PN}" + +src_install() { + # install menu + domenu "share/applications/${PN}.desktop" + # Install commonly used icon sizes + for res in 16x16 22x22 32x32 48x48 64x64 128x128 ; do + insinto "/usr/share/icons/hicolor/${res}/apps" + doins "share/icons/hicolor/${res}/apps/${PN}.png" || \ + die "Installing icons failed." + done + insinto "/usr/share/pixmaps" + doins "share/icons/hicolor/48x48/apps/${PN}.png" || \ + die "Installing pixmap failed." + + # dodoc + dodoc "share/doc/${PN}/"* || die "Installing docs failed." + + # create directories for installation + dodir ${MENDELEY_INSTALL_DIR} || die "dodir failed" + dodir "${MENDELEY_INSTALL_DIR}/lib" || die "dodir failed" + dodir "${MENDELEY_INSTALL_DIR}/share" || die "dodir failed" + + # install binaries + mv "bin" "${D}${MENDELEY_INSTALL_DIR}" || die "Installing bin failed." + mv "lib" "${D}${MENDELEY_INSTALL_DIR}" || die "Installing libs failed." + mv "share/${PN}" "${D}${MENDELEY_INSTALL_DIR}/share" || \ + die "Installing shared files failed." + dosym "${MENDELEY_INSTALL_DIR}/bin/${PN}" "/opt/bin/${PN}" || \ + die "Installing launcher symlinks failed." +} + |