From 2d468b1e22f76bb49cd88964fdb3066730297ce9 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Thu, 29 Aug 2024 03:04:06 +0300 Subject: [PATCH] fix --- .github/release-nest-v3 | 2 +- debian/rules | 36 +++++++++++++++++++----------------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index bf0d87a..7813681 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -4 \ No newline at end of file +5 \ No newline at end of file diff --git a/debian/rules b/debian/rules index 8bb4685..c5f2308 100755 --- a/debian/rules +++ b/debian/rules @@ -22,21 +22,23 @@ override_dh_auto_install: /root/.cargo/bin/cargo fetch /root/.cargo/bin/cargo build --release +override_dh_auto_install: + mkdir -p debian/tmp/usr/bin/ + mkdir -p debian/tmp/usr/lib/pika/gnome-layouts + mkdir -p debian/tmp/usr/share/glib-2.0/schemas/ + mkdir -p debian/tmp/usr/share/applications + mkdir -p debian/tmp/usr/share/icons/hicolor/scalable/apps + cp -vf target/release/pika-gnome-layouts debian/tmp/usr/bin/ + cp -vf data/scripts/*.sh debian/tmp/usr/lib/pika/gnome-layouts + cp -vf data/scripts/papirus-folders debian/tmp/usr/lib/pika/gnome-layouts + cp -vf data/*.gschema.xml debian/tmp/usr/share/glib-2.0/schemas/ + cp -vf data/com.github.pikaos-linux.pikagnomelayouts.desktop debian/tmp/usr/share/applications/ + cp -vfr data/layout-scripts debian/tmp/usr/lib/pika/gnome-layouts/ + cp -vfr data/polkit-1 debian/tmp/usr/share/ + chmod 755 debian/tmp/usr/bin/pika-gnome-layouts + chmod 755 debian/tmp/usr/lib/pika/gnome-layouts/*.sh + chmod 755 debian/tmp/usr/lib/pika/gnome-layouts/layout-scripts/*.sh + chmod 755 debian/tmp/usr/lib/pika/gnome-layouts/papirus-folders + override_dh_install: - dh_install - mkdir -p $(DESTDIR)/usr/bin/ - mkdir -p $(DESTDIR)/usr/lib/pika/gnome-layouts - mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/ - mkdir -p $(DESTDIR)/usr/share/applications - mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps - cp -vf target/release/pika-gnome-layouts $(DESTDIR)/usr/bin/ - cp -vf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/gnome-layouts - cp -vf data/scripts/papirus-folders $(DESTDIR)/usr/lib/pika/gnome-layouts - cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/ - cp -vf data/com.github.pikaos-linux.pikagnomelayouts.desktop $(DESTDIR)/usr/share/applications/ - cp -vfr data/layout-scripts $(DESTDIR)/usr/lib/pika/gnome-layouts/ - cp -vfr data/polkit-1 $(DESTDIR)/usr/share/ - chmod 755 $(DESTDIR)/usr/bin/pika-gnome-layouts - chmod 755 $(DESTDIR)/usr/lib/pika/gnome-layouts/*.sh - chmod 755 $(DESTDIR)/usr/lib/pika/gnome-layouts/layout-scripts/*.sh - chmod 755 $(DESTDIR)/usr/lib/pika/gnome-layouts/papirus-folders \ No newline at end of file + dh_install \ No newline at end of file