commit 3f8b8f9249323f6942eed6a0d235ed8d724c9f96 Author: Jared Allard Date: Tue Dec 4 15:24:25 2018 -0800 feat: initial commit, add slack diff --git a/README.md b/README.md new file mode 100644 index 0000000..d804963 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# jaredallard does ebuilds + +My own ebuilds diff --git a/net-im/slack-desktop-bin/slack-desktop-bin-3.3.3.ebuild b/net-im/slack-desktop-bin/slack-desktop-bin-3.3.3.ebuild new file mode 100644 index 0000000..7fc8159 --- /dev/null +++ b/net-im/slack-desktop-bin/slack-desktop-bin-3.3.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit unpacker eutils + +DESCRIPTION="Official Slack Desktop Client" +HOMEPAGE="http://www.slack.com/" + +SRC_URI_AMD64="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${PV}-amd64.deb" +SRC_URI_X86="https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-${PV}-i386.deb" +#SRC_URI=" +# amd64? ( ${SRC_URI_AMD64} ) +# x86? ( ${SRC_URI_X86} ) +#" +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) +" + +LICENSE="" +SLOT="0" +#KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" + +DEPEND="gnome-base/gconf + x11-libs/gtk+:2 + virtual/udev + dev-libs/libgcrypt + x11-libs/libnotify + x11-libs/libXtst + dev-libs/nss + dev-lang/python + gnome-base/gvfs + x11-misc/xdg-utils +" + +S="${WORKDIR}" + +RESTRICT="mirror" + +src_unpack() { + unpack_deb ${A} +} + +src_install() { + cp -R "${WORKDIR}/usr" "${D}" || die "install failed!" +} +