diff options
author | Pacho Ramos <pacho@gentoo.org> | 2020-12-23 18:04:45 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2020-12-23 18:05:12 +0100 |
commit | 7450812b6099c16879c79b5e02d5dc49537f48a1 (patch) | |
tree | e3ddae6bbc5956646540fbd399cc6d65ce2d0a9d /x11-misc/prime-run/prime-run-1.0.ebuild | |
parent | dev-util/github-cli: 1.4.0 bump (diff) | |
download | gentoo-7450812b6099c16879c79b5e02d5dc49537f48a1.tar.gz gentoo-7450812b6099c16879c79b5e02d5dc49537f48a1.tar.bz2 gentoo-7450812b6099c16879c79b5e02d5dc49537f48a1.zip |
x11-misc/prime-run: Simple script to run on discrete card
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'x11-misc/prime-run/prime-run-1.0.ebuild')
-rw-r--r-- | x11-misc/prime-run/prime-run-1.0.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-misc/prime-run/prime-run-1.0.ebuild b/x11-misc/prime-run/prime-run-1.0.ebuild new file mode 100644 index 000000000000..ea4e509c801e --- /dev/null +++ b/x11-misc/prime-run/prime-run-1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Wrapper to run app with NVIDIA" +HOMEPAGE="https://github.com/archlinux/svntogit-packages/tree/packages/nvidia-prime/trunk https://archlinux.org/packages/extra/any/nvidia-prime/" +SRC_URI="https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/nvidia-prime/trunk/prime-run -> ${P}" + +# https://github.com/archlinux/svntogit-packages/blob/packages/nvidia-prime/trunk/PKGBUILD +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}" + +src_install() { + newbin "${DISTDIR}"/${P} ${PN} +} |