2023-06-29 23:59:32 +03:00
|
|
|
all:
|
|
|
|
true
|
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
|
|
|
cargo fetch
|
|
|
|
cargo build --release
|
|
|
|
cp -vf target/release/pika-drivers $(DESTDIR)/usr/bin/
|
|
|
|
chmod 755 $(DESTDIR)/usr/bin/pika-drivers
|
|
|
|
mkdir -p $(DESTDIR)/usr/lib/pika/drivers/
|
2023-07-01 23:20:30 +03:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2023-06-29 23:59:32 +03:00
|
|
|
cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/
|
2023-07-01 23:20:30 +03:00
|
|
|
cp data/*.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2023-06-30 00:16:12 +03:00
|
|
|
chmod 755 $(DESTDIR)/usr/lib/pika/drivers/*.sh
|
2023-06-30 00:09:15 +03:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/applications
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
2024-02-23 21:38:03 +03:00
|
|
|
cp -vf data/com.github.pikaos-linux.pikadrivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
2024-02-22 00:10:03 +03:00
|
|
|
cp -vf data/com.github.pikaos-linux.pikadrivers.desktop $(DESTDIR)/usr/share/applications/
|