diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-02-13 16:52:40 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-02-13 17:13:47 +0100 |
commit | d0c1b75d0eef4c66bf7caff2a541c8276621defa (patch) | |
tree | acaf98d4280ec037571c856916dfe71da931b09b /net-im/mattermost-desktop-bin | |
parent | net-im/mattermost-desktop-bin: new package. (diff) | |
download | gentoo-d0c1b75d0eef4c66bf7caff2a541c8276621defa.tar.gz gentoo-d0c1b75d0eef4c66bf7caff2a541c8276621defa.tar.bz2 gentoo-d0c1b75d0eef4c66bf7caff2a541c8276621defa.zip |
net-im/mattermost-desktop-bin: tidy up ebuild.
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r-- | net-im/mattermost-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild | 42 |
2 files changed, 22 insertions, 22 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 8d273109d9e3..d7829030f382 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,3 +1,3 @@ -DIST 3.5.0.tar.gz 763198 SHA256 9948a5647906c6e759961072f838cebb38c5649a112fe9d053b90ec13e2c564c SHA512 06924e4ce18cbe8fd50c0742a74b0a2ec732c7a419bb741c6991097a0a7be01afdfc4ce43125856508aa06750e35d12ce34d06a1e5d6eb6ddd14e81a0a6dffba WHIRLPOOL 00e696a34a3c509cf3a15bdc7eb15043eb3141ef6f0aea0e7a2154485093260819e494c46c57d9d7c3a9a293991e35754cfdbb342657d3599d974d8c31f07d14 DIST mattermost-desktop-3.5.0-linux-ia32.tar.gz 48847084 SHA256 116e2e5a8892de5b640da58b82eb593b98f62882486f972d015f623862e282b7 SHA512 cdb363ca5c13090ec484976a55efdc398549d6cfaefe19619443433f0cd8382ef00b1a65dc3e82caf4b7b7535e903392e9a51abcece131d4ea9c31661c024e99 WHIRLPOOL 14dc96fdeda67ac8fcbfe1a2eb3fc785c9bb342a34179a7948b60876c962ab31d30777ff2f7940f217ff2c9ca0a6d9422b091cb71065cccdc4cb63152c15c9d5 DIST mattermost-desktop-3.5.0-linux-x64.tar.gz 47617590 SHA256 a00d98b1cb921e2584a78a75c7b86b936780b788dbb9898b3cba0405bfe33cec SHA512 b9bd3a9c3e3c63fd45764916acbde863c9297b9c6a5fcf6f6321d19945709b6f8d50842bec880d003c0ca5555bde0d46725a485557f8cbfb36fdf36875915f13 WHIRLPOOL a5513503d6f756e9aebdb2ac7ec3c25db96254ea2004d4905071a8c09728874ca29d657438ceac5f4fadde7ccc624349b3e25db4109e13bb49602c52ed590d6d +DIST mattermost-desktop-bin-3.5.0.tar.gz 763198 SHA256 9948a5647906c6e759961072f838cebb38c5649a112fe9d053b90ec13e2c564c SHA512 06924e4ce18cbe8fd50c0742a74b0a2ec732c7a419bb741c6991097a0a7be01afdfc4ce43125856508aa06750e35d12ce34d06a1e5d6eb6ddd14e81a0a6dffba WHIRLPOOL 00e696a34a3c509cf3a15bdc7eb15043eb3141ef6f0aea0e7a2154485093260819e494c46c57d9d7c3a9a293991e35754cfdbb342657d3599d974d8c31f07d14 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild index 46a1cc78a8a5..1cbb5aef177b 100644 --- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild @@ -6,49 +6,49 @@ EAPI=6 inherit eutils gnome2-utils +MY_PN="${PN%-*}" + DESCRIPTION="Mattermost Desktop application" HOMEPAGE="https://about.mattermost.com/" -SRC_URI="https://github.com/mattermost/desktop/archive/v${PV}.tar.gz -> ${PV}.tar.gz - amd64? ( https://releases.mattermost.com/desktop/3.5.0/mattermost-desktop-${PV}-linux-x64.tar.gz ) - x86? ( https://releases.mattermost.com/desktop/3.5.0/mattermost-desktop-${PV}-linux-ia32.tar.gz ) + +SRC_URI=" +https://github.com/mattermost/desktop/archive/v${PV}.tar.gz -> ${P}.tar.gz + amd64? ( https://releases.mattermost.com/desktop/3.5.0/mattermost-desktop-${PV}-linux-x64.tar.gz ) + x86? ( https://releases.mattermost.com/desktop/3.5.0/mattermost-desktop-${PV}-linux-ia32.tar.gz ) " LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="mirror" +KEYWORDS="~amd64 ~x86" -DEPEND="" -RDEPEND="${DEPEND}" +RESTRICT="mirror" S="${WORKDIR}/mattermost-desktop-${PV}" -QA_PREBUILT="opt/mattermost-desktop/mattermost-desktop + +QA_PREBUILT=" + opt/mattermost-desktop/mattermost-desktop opt/mattermost-desktop/libnode.so opt/mattermost-desktop/libffmpeg.so " src_install() { - insinto /opt/mattermost-desktop/locales + insinto "/opt/${MY_PN}/locales" doins locales/*.pak - insinto /opt/mattermost-desktop/resources + insinto "/opt/${MY_PN}/resources" doins resources/*.asar - insinto /opt/mattermost-desktop - doins *.pak - doins *.bin - doins *.dat + insinto "/opt/${MY_PN}" + doins *.pak *.bin *.dat - exeinto /opt/mattermost-desktop + exeinto "/opt/${MY_PN}" - doexe *.so - doexe mattermost-desktop + doexe *.so "${MY_PN}" - dosym /opt/mattermost-desktop/mattermost-desktop /opt/bin/mattermost-desktop + dosym "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}" - newicon "${S}/icon.png" mattermost-desktop.png - make_desktop_entry mattermost-desktop Mattermost mattermost-desktop + newicon "${S}/icon.png" "${MY_PN}.png" + make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}" } pkg_preinst() { |