app-misc/tpconfig: revbump for d-m-i

Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Aisha Tammy
2021-02-13 01:34:01 +00:00
committed by Matt Turner
parent a97ca08983
commit 956d31bbd2
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
depend() {
before display-manager
}
start() {
ebegin "Loading tpconfig options..."
/usr/bin/tpconfig ${TPOPTIONS} > /dev/null 2> /tmp/tpconfig.start
if [ -z "`cat /tmp/tpconfig.start 2> /dev/null`" ]; then
eend 0
else
eend 1
fi
}
stop() {
ebegin "Stoping tpconfig (this does nothing)..."
eend 0
}

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour"
HOMEPAGE="http://www.compass.com/synaptics/"
SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
einstalldocs
dobin "${PN}"
newinitd "${FILESDIR}"/"${PN}-r1" "${PN}"
newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
}