diff --git a/Makefile b/Makefile deleted file mode 100644 index ecea9c6..0000000 --- a/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -export PATH := $(PWD):$(PATH) - -all: - true - -install: - mkdir -p $(DESTDIR)/usr/bin/ - mkdir -p $(DESTDIR)/usr/share/pixmaps - mkdir -p $(DESTDIR)/usr/share/applications/ - mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps - cargo fetch - cargo build --release - cp -vf target/release/anime-game-launcher $(DESTDIR)/usr/bin/ - chmod 755 $(DESTDIR)/usr/bin/anime-game-launcher - cp -vf assets/images/icon.png $(DESTDIR)/usr/share/pixmaps/an-anime-game-launcher.png - cp -vf assets/images/icon.png /usr/share/icons/hicolor/scalable/apps/moe.launcher.an-anime-game-launcher.png - chmod 644 $(DESTDIR)/usr/share/pixmaps/an-anime-game-launcher.png - chmod 644 $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/moe.launcher.an-anime-game-launcher.png - cp -vf an-anime-game-launcher.desktop $(DESTDIR)/usr/share/applications/ - chmod 644 $(DESTDIR)/usr/share/applications/an-anime-game-launcher.desktop diff --git a/debian/rules b/debian/rules index 066afc9..eb54868 100755 --- a/debian/rules +++ b/debian/rules @@ -6,15 +6,15 @@ override_dh_auto_install: /root/.cargo/bin/cargo fetch /root/.cargo/bin/cargo build --release - mkdir -p debian/pika-drivers/usr/bin/ - cp -vf target/release/pika-drivers debian/pika-drivers/usr/bin/ - chmod 755 debian/pika-drivers/usr/bin/pika-drivers - mkdir -p debian/pika-drivers/usr/lib/pika/drivers/ - mkdir -p debian/pika-drivers/usr/share/glib-2.0/schemas/ - cp data/*.sh debian/pika-drivers/usr/lib/pika/drivers/ - cp data/*.xml debian/pika-drivers/usr/share/glib-2.0/schemas/ - chmod 755 debian/pika-drivers/usr/lib/pika/drivers/*.sh - mkdir -p debian/pika-drivers/usr/share/applications - mkdir -p debian/pika-drivers/usr/share/icons/hicolor/scalable/apps - cp -vf data/com.github.pikaos-linux.pikadrivers.svg debian/pika-drivers/usr/share/icons/hicolor/scalable/apps/ - cp -vf data/com.github.pikaos-linux.pikadrivers.desktop debian/pika-drivers/usr/share/applications/ \ No newline at end of file + mkdir -p debian/an-anime-game-launcher/usr/bin/ + mkdir -p debian/an-anime-game-launcher/usr/share/pixmaps + mkdir -p debian/an-anime-game-launcher/usr/share/applications/ + mkdir -p debian/an-anime-game-launcher/usr/share/icons/hicolor/scalable/apps + cp -vf target/release/anime-game-launcher debian/an-anime-game-launcher/usr/bin/ + chmod 755 debian/an-anime-game-launcher/usr/bin/anime-game-launcher + cp -vf assets/images/icon.png debian/an-anime-game-launcher/usr/share/pixmaps/an-anime-game-launcher.png + cp -vf assets/images/icon.png /usr/share/icons/hicolor/scalable/apps/moe.launcher.an-anime-game-launcher.png + chmod 644 debian/an-anime-game-launcher/usr/share/pixmaps/an-anime-game-launcher.png + chmod 644 debian/an-anime-game-launcher/usr/share/icons/hicolor/scalable/apps/moe.launcher.an-anime-game-launcher.png + cp -vf an-anime-game-launcher.desktop debian/an-anime-game-launcher/usr/share/applications/ + chmod 644 debian/an-anime-game-launcher/usr/share/applications/an-anime-game-launcher.desktop diff --git a/main.sh b/main.sh index a18e22a..826893e 100755 --- a/main.sh +++ b/main.sh @@ -5,7 +5,6 @@ DEBIAN_FRONTEND=noninteractive # Clone Upstream git clone https://github.com/an-anime-team/an-anime-game-launcher cp -rvf ./debian ./an-anime-game-launcher/ -cp -rvf ./Makefile ./an-anime-game-launcher/ cp -rvf ./an-anime-game-launcher.desktop ./an-anime-game-launcher/ cd ./an-anime-game-launcher/