games-util/joycond: treeclean (moved to ::gentoo)

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-02-13 22:20:04 +02:00
parent 5cb6039ba2
commit 29b2b8d9d3
2 changed files with 0 additions and 42 deletions

View File

@@ -1,34 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake git-r3
DESCRIPTION="Combine joy-cons using hid-nintendo"
HOMEPAGE="https://github.com/DanielOgorchock/joycond"
EGIT_REPO_URI="https://github.com/DanielOgorchock/joycond"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
DEPEND="
dev-libs/libevdev
virtual/udev
"
RDEPEND="${DEPEND}
games-util/hid-nintendo"
BDEPEND=""
IUSE="systemd"
src_install() {
cmake_src_install
if ! use systemd; then
rm -rf "${D}"/etc/modules-load.d
mkdir "${D}"/etc/init.d/
echo -e "#!/sbin/openrc-run\ncommand=/usr/bin/${PN}" \
> "${D}"/etc/init.d/${PN}
chmod +x "${D}"/etc/init.d/${PN}
fi
}

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Samuel Bauer</name>
<email>samuel.bauer@yahoo.fr</email>
</maintainer>
</pkgmetadata>