2024-01-23 19:52:28 +01:00
|
|
|
all:
|
|
|
|
true
|
|
|
|
|
|
|
|
install:
|
2024-01-24 20:17:19 +01:00
|
|
|
#mkdir -p $(DESTDIR)/usr/bin/
|
2024-01-23 19:52:28 +01:00
|
|
|
cargo fetch
|
|
|
|
cargo build --release
|
2024-01-24 20:17:19 +01:00
|
|
|
#cp -vf target/release/pika-installer-gtk4 $(DESTDIR)/usr/bin/
|
2024-01-23 19:52:28 +01:00
|
|
|
chmod 755 $(DESTDIR)/usr/bin/pika-installer-gtk4
|
2024-01-24 20:17:19 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/bin/
|
|
|
|
cp -vf target/release/pika-installer-gtk4 $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/bin/
|
2024-01-23 19:52:28 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
|
|
|
cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
|
|
|
cp data/*.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
|
|
|
chmod 755 $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/*.sh
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/applications
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
|
|
|
#cp -vf data/pika-drivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
|
|
|
#cp -vf data/com.pika.drivers.desktop $(DESTDIR)/usr/share/applications/
|