diff options
Diffstat (limited to 'system/game-devices-udev/game-devices-udev.SlackBuild')
-rw-r--r-- | system/game-devices-udev/game-devices-udev.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/game-devices-udev/game-devices-udev.SlackBuild b/system/game-devices-udev/game-devices-udev.SlackBuild index 187540524c..4fb2d517d1 100644 --- a/system/game-devices-udev/game-devices-udev.SlackBuild +++ b/system/game-devices-udev/game-devices-udev.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=game-devices-udev -VERSION=${VERSION:-0.24} +VERSION=${VERSION:-0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,17 +82,21 @@ if [ "${PERSONALCOMM:-YES}" == "YES" ]; then install_rules 71-personal_communica if [ "${PIDCODES:-YES}" == "YES" ]; then install_rules 71-pid_codes-controllers.rules; fi if [ "${POWERA:-YES}" == "YES" ]; then install_rules 71-powera-controllers.rules; fi if [ "${RAZER:-YES}" == "YES" ]; then install_rules 71-razer-controllers.rules; fi +if [ "${RASPBERRYPI:-YES}" == "YES" ]; then install_rules 71-raspberry-pi-ltd.rules; fi if [ "${SONY:-YES}" == "YES" ]; then install_rules 71-sony-controllers.rules; fi if [ "${SONYVR:-YES}" == "YES" ]; then install_rules 71-sony-vr.rules; fi if [ "${UNINPUT:-YES}" == "YES" ]; then install_rules 71-uinput-dev-early-creation.rules; fi if [ "${VALVE:-YES}" == "YES" ]; then install_rules 71-valve-controllers.rules; fi if [ "${VALVEVR:-YES}" == "YES" ]; then install_rules 71-valve-vr.rules; fi +if [ "${VKBSIM:-YES}" == "YES" ]; then install_rules 71-vkb_sim-controllers.rules; fi if [ "${ZEROPLUS:-YES}" == "YES" ]; then install_rules 71-zeroplus_technology_corporation-controllers.rules; fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - 8BitDo.md LICENSE README.md \ + LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION +# Only copy this README over if the rule is installed +if [ "${_8BITDO:-YES}" == "YES" ]; then cp 8BitDo.md $PKG/usr/doc/$PRGNAM-$VERSION; fi cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.devices > $PKG/usr/doc/$PRGNAM-$VERSION/README.devices |