initial commit
This commit is contained in:
parent
8bbb304ea7
commit
9f1014b76b
20
Makefile
20
Makefile
@ -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
|
|
24
debian/rules
vendored
24
debian/rules
vendored
@ -6,15 +6,15 @@
|
|||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
/root/.cargo/bin/cargo fetch
|
/root/.cargo/bin/cargo fetch
|
||||||
/root/.cargo/bin/cargo build --release
|
/root/.cargo/bin/cargo build --release
|
||||||
mkdir -p debian/pika-drivers/usr/bin/
|
mkdir -p debian/an-anime-game-launcher/usr/bin/
|
||||||
cp -vf target/release/pika-drivers debian/pika-drivers/usr/bin/
|
mkdir -p debian/an-anime-game-launcher/usr/share/pixmaps
|
||||||
chmod 755 debian/pika-drivers/usr/bin/pika-drivers
|
mkdir -p debian/an-anime-game-launcher/usr/share/applications/
|
||||||
mkdir -p debian/pika-drivers/usr/lib/pika/drivers/
|
mkdir -p debian/an-anime-game-launcher/usr/share/icons/hicolor/scalable/apps
|
||||||
mkdir -p debian/pika-drivers/usr/share/glib-2.0/schemas/
|
cp -vf target/release/anime-game-launcher debian/an-anime-game-launcher/usr/bin/
|
||||||
cp data/*.sh debian/pika-drivers/usr/lib/pika/drivers/
|
chmod 755 debian/an-anime-game-launcher/usr/bin/anime-game-launcher
|
||||||
cp data/*.xml debian/pika-drivers/usr/share/glib-2.0/schemas/
|
cp -vf assets/images/icon.png debian/an-anime-game-launcher/usr/share/pixmaps/an-anime-game-launcher.png
|
||||||
chmod 755 debian/pika-drivers/usr/lib/pika/drivers/*.sh
|
cp -vf assets/images/icon.png /usr/share/icons/hicolor/scalable/apps/moe.launcher.an-anime-game-launcher.png
|
||||||
mkdir -p debian/pika-drivers/usr/share/applications
|
chmod 644 debian/an-anime-game-launcher/usr/share/pixmaps/an-anime-game-launcher.png
|
||||||
mkdir -p debian/pika-drivers/usr/share/icons/hicolor/scalable/apps
|
chmod 644 debian/an-anime-game-launcher/usr/share/icons/hicolor/scalable/apps/moe.launcher.an-anime-game-launcher.png
|
||||||
cp -vf data/com.github.pikaos-linux.pikadrivers.svg debian/pika-drivers/usr/share/icons/hicolor/scalable/apps/
|
cp -vf an-anime-game-launcher.desktop debian/an-anime-game-launcher/usr/share/applications/
|
||||||
cp -vf data/com.github.pikaos-linux.pikadrivers.desktop debian/pika-drivers/usr/share/applications/
|
chmod 644 debian/an-anime-game-launcher/usr/share/applications/an-anime-game-launcher.desktop
|
||||||
|
1
main.sh
1
main.sh
@ -5,7 +5,6 @@ DEBIAN_FRONTEND=noninteractive
|
|||||||
# Clone Upstream
|
# Clone Upstream
|
||||||
git clone https://github.com/an-anime-team/an-anime-game-launcher
|
git clone https://github.com/an-anime-team/an-anime-game-launcher
|
||||||
cp -rvf ./debian ./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/
|
cp -rvf ./an-anime-game-launcher.desktop ./an-anime-game-launcher/
|
||||||
cd ./an-anime-game-launcher/
|
cd ./an-anime-game-launcher/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user