fix
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 39s

This commit is contained in:
Ward from fusion-voyager-3 2024-08-29 03:04:06 +03:00
parent 8122603280
commit 2d468b1e22
2 changed files with 20 additions and 18 deletions

View File

@ -1 +1 @@
4
5

36
debian/rules vendored
View File

@ -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
dh_install