[neon/neon-packaging/kdotool/Neon/unstable] debian: actually works

Carlos De Maine null at kde.org
Mon Feb 5 02:52:23 GMT 2024


Git commit 3146a16adc9689cc18401b4008b25edbad5d86bd by Carlos De Maine.
Committed on 05/02/2024 at 02:52.
Pushed by carlosdem into branch 'Neon/unstable'.

actually works

M  +1    -1    debian/changelog
M  +1    -1    debian/kdotool.install
M  +8    -7    debian/rules

https://invent.kde.org/neon/neon-packaging/kdotool/-/commit/3146a16adc9689cc18401b4008b25edbad5d86bd

diff --git a/debian/changelog b/debian/changelog
index b3c9126..a0db0eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-kdotool (0.2.1-0neon) jammy; urgency=medium
+kdotool (0.2.1-1neon) jammy; urgency=medium
 
   * initial release
 
diff --git a/debian/kdotool.install b/debian/kdotool.install
index 4bd7b42..1b91047 100644
--- a/debian/kdotool.install
+++ b/debian/kdotool.install
@@ -1 +1 @@
-#../../target/release/kdotool /usr/bin/
+usr/
diff --git a/debian/rules b/debian/rules
old mode 100755
new mode 100644
index 3ab24e8..65782cd
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
+include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/architecture.mk
 
 export DH_VERBOSE=1
 
@@ -7,16 +9,15 @@ export DH_VERBOSE=1
 	dh $@
 
 override_dh_auto_build:
-	cargo package
-	cargo deb
-	$(shell ls -lsR )
+	cargo build --release
+
 
 override_dh_auto_clean:
 	cargo clean
+	dh_auto_clean
 
 override_dh_auto_install:
-	$(shell ls )
-	cd ../
-	$(shell ls)
-	cp target/release/kdotool debian/tmp/usr/bin/
+	mkdir -pv debian/tmp/usr/bin/
+	ls -ls
+	cp -v target/release/kdotool debian/tmp/usr/bin/
 	dh_auto_install


More information about the Neon-commits mailing list