xpad-noone/debian/patches/xpad-noone-package-adapt.patch
2023-03-04 16:28:28 +03:00

22 lines
859 B
Diff

diff -uraN a/Makefile b/Makefile
--- a/Makefile 1970-01-01 02:00:00.000000000 +0200
+++ b/Makefile 2023-03-04 16:27:05.690744954 +0300
@@ -0,0 +1,12 @@
+VERSION=1.0
+
+all:
+ true
+
+install:
+ echo "* Copying module into /usr/src..."
+ install -dm755 $(DESTDIR)/usr/src/xpad-noone
+ cp -r xpad-noone $(DESTDIR)/usr/src/
+ ln -sf /usr/src/xpad-noone $(DESTDIR)/usr/src/xpad-noone-"${VERSION}"
+ install -d $(DESTDIR)/etc/modules-load.d
+ cp -r modules-load-d-xpad-noone.conf $(DESTDIR)/etc/modules-load.d/xpad-noone.conf
diff -uraN a/modules-load-d-xpadneo.conf b/modules-load-d-xpadneo.conf
--- a/modules-load-d-xpad-noone.conf 1970-01-01 02:00:00.000000000 +0200
+++ b/modules-load-d-xpad-noone.conf 2022-09-25 20:44:46.000000000 +0300
@@ -0,0 +1,1 @@
+xpad-noone