xpad-noone/debian/patches/xpad-noone-package-adapt.patch
Ward Nakchbandi 9b9a0b9afe first commit
2023-03-04 16:18:43 +03:00

23 lines
790 B
Diff

diff -uraN a/Makefile b/Makefile
--- a/Makefile 1970-01-01 02:00:00.000000000 +0200
+++ b/Makefile 2022-10-04 19:12:45.651268524 +0300
@@ -0,0 +1,13 @@
+VERSION=1.0
+
+.PHONY: install
+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