commit:     b019a58574ad908ac3f19ff6c4c6816a25e2aa4c
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Fri Mar 25 23:11:55 2022 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Fri Mar 25 23:15:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b019a585

games-util/samrewritten: add 9999

Signed-off-by: James Beddek <telans <AT> posteo.de>

 games-util/samrewritten/samrewritten-9999.ebuild | 41 ++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/games-util/samrewritten/samrewritten-9999.ebuild 
b/games-util/samrewritten/samrewritten-9999.ebuild
new file mode 100644
index 000000000..bed588eda
--- /dev/null
+++ b/games-util/samrewritten/samrewritten-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg
+
+DESCRIPTION="Steam Achievement Manager For Linux"
+HOMEPAGE="https://github.com/PaulCombal/SamRewritten/";
+
+if [ ${PV} = "9999" ]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/PaulCombal/SamRewritten.git";
+else
+       SRC_URI="https://github.com/PaulCombal/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/SamRewritten-${PV}"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+zenity"
+
+DEPEND="
+       dev-cpp/gtkmm:3.0
+       dev-libs/yajl
+       net-libs/gnutls
+"
+RDEPEND="
+       ${DEPEND}
+       zenity? ( gnome-extra/zenity )
+"
+
+src_install() {
+       emake LIBDIR=$(get_libdir) DESTDIR="${ED}" install
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       ewarn "${P} requires Steam to be installed through the steam-overlay."
+}

Reply via email to