-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marc Vef
committed
Jan 24, 2019
1 parent
91558c4
commit 0504ba4
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DIST franz_5.0.0-beta.19_amd64.deb 41604230 BLAKE2B ed004b1dcc15ba5d85198d0cba7258151ffb582349f9ea5f8deee10bad42768d88a80a0fb60fbb7085a9af6b67ba79f2a5b7e28f8abf3aa221fd12558b875577 SHA512 60af8dfd59cb2d86b0d37e2953af84834079a52fe95a81079ad0304939dcf0eadcb4ff6ca9c1b9e96d83599664b686fc8c3142e8ab9170034d525e1a69f65dd2 | ||
EBUILD franz-bin-5.0.0.ebuild 1421 BLAKE2B bf81ecc1bec116bb4f2d98ea57cf4b8b084fb4adc7115689b4ffec78b5235a3791de4f89fcec6944faff869dcf07b28794e8d6b411c7eb7e1c128ddc846898ff SHA512 491d79595b265f14e9a8fb5ba97cd88ce9e9fe18fdef87879af0365a94d8d600c7b7827d25f6ffc187a473f9a2426051ea43d3906729132eeeaddf396b247640 | ||
MISC metadata.xml 245 BLAKE2B 93e104af16014557efd99aabe952022e47eec163d00680197dcf231f14dac8f2a6c7d5a738b954d69a24140c5efa9184eff00892f5f9812c5be865a32dfdfa13 SHA512 624f23c65674c080192d09cbb4ff6b0e7b16455652f193cceaf1e43b37e9761e262f188f15d330dfbd499cbbec1edbb1abfd3749bb171fb7ea3fc3e470882905 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Copyright 2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit unpacker | ||
MY_PN=${PN/-bin/} | ||
|
||
DESCRIPTION="Franz is a free messaging app" | ||
HOMEPAGE="http://meetfranz.com" | ||
#SRC_URI="https://github.com/meetfranz/franz/releases/download/v5.0.0-beta.19/franz-5.0.0-beta.19.tar.gz" | ||
#SRC_URI="https://github.com/meetfranz/franz/releases/download/v${PV}-beta.19/franz-${PV}-beta.19.tar.gz -> ${P}.tar.gz" | ||
SRC_URI="https://github.com/meetfranz/franz/releases/download/v${PV}-beta.19/franz_${PV}-beta.19_amd64.deb" | ||
|
||
LICENSE="" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" | ||
|
||
QA_PREBUILT=" | ||
opt/Franz/franz | ||
opt/Franz/libffmpeg.so | ||
opt/Franz/libnode.so | ||
" | ||
|
||
S=${WORKDIR} | ||
|
||
src_unpack() { | ||
unpack_deb ${A} | ||
} | ||
src_prepare() { | ||
default | ||
sed -i -e "s:/opt/Franz/franz:franz:g" usr/share/applications/${MY_PN}.desktop || die | ||
} | ||
|
||
src_install() { | ||
insinto /opt/${MY_PN}/bin | ||
doins -r opt/Franz/. | ||
insinto /opt/${MY_PN}/usr | ||
doins -r usr/. | ||
fperms +x /opt/${MY_PN}/bin/${MY_PN} | ||
dosym /opt/${MY_PN}/bin/franz /usr/bin/${MY_PN} | ||
dosym /opt/${MY_PN}/usr/share/applications/${MY_PN}.desktop /usr/share/applications/${MY_PN}.desktop | ||
dosym /opt/${MY_PN}/usr/share/icons/hicolor/256x256/apps/${MY_PN}.png /usr/share/pixmaps/${MY_PN}.png | ||
} | ||
|
||
pkg_preinst() { | ||
gnome2_icon_savelist | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_icon_cache_update | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Marc Vef</name> | ||
</maintainer> | ||
</pkgmetadata> |