heroic-games-launcher/debian/rules

26 lines
911 B
Plaintext
Raw Normal View History

2024-11-02 15:02:57 +01:00
#! /usr/bin/make -f
## See debhelper(7) (uncomment to enable).
## Output every command that modifies files on the build system.
export DH_VERBOSE = 1
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
2024-11-02 17:37:00 +01:00
override_dh_auto_build:
npm install -g pnpm
pnpm install
pnpm run download-helper-binaries
pnpm dist:linux tar.xz
override_dh_install:
2024-11-02 18:07:30 +01:00
install -d "debian/heroic-games-launcher/opt/Heroic"
cp -r dist/linux-unpacked/* "debian/heroic-games-launcher/opt/Heroic"
2024-11-02 17:37:00 +01:00
install -d "debian/heroic-games-launcher/usr/bin"
2024-11-02 18:07:30 +01:00
ln -s /opt/Heroic/heroic "debian/heroic-games-launcher/usr/bin/heroic"
2024-11-02 17:37:00 +01:00
install -d "debian/heroic-games-launcher/usr/share"
cp -r "debian/extras/icons" "debian/heroic-games-launcher/usr/share/"
install -d "debian/heroic-games-launcher/usr/share/applications/"
install -D "debian/extras/heroic.desktop" "debian/heroic-games-launcher/usr/share/applications/heroic.desktop"
2024-11-02 15:02:57 +01:00
%:
dh $@