|
|
|
|
@ -15,18 +15,11 @@ GIT_COMMIT_DEVILUTIONX := $(shell pwd | tail -c 8)
|
|
|
|
|
dh $@ --buildsystem=cmake --builddirectory=obj-${DEB_HOST_MULTIARCH} |
|
|
|
|
|
|
|
|
|
override_dh_auto_configure: |
|
|
|
|
dh_auto_configure -- -DNIGHTLY_BUILD=ON -DVERSION_NUM=${GIT_VERSION_DEVILUTIONX} -DVERSION_SUFFIX=-${GIT_COMMIT_DEVILUTIONX} #-DSPAWN=ON |
|
|
|
|
dh_auto_configure -- \ |
|
|
|
|
-DNIGHTLY_BUILD=ON \ |
|
|
|
|
-DVERSION_NUM=${GIT_VERSION_DEVILUTIONX} \ |
|
|
|
|
-DVERSION_SUFFIX=-${GIT_COMMIT_DEVILUTIONX} \ |
|
|
|
|
#-DSPAWN=ON |
|
|
|
|
|
|
|
|
|
override_dh_auto_install: |
|
|
|
|
install -pdm755 debian/diablo-data/usr/share/games/diablo/ |
|
|
|
|
test -f "../diabdat.mpq" && cp ../diabdat.mpq debian/diablo-data/usr/share/games/diablo/ || true |
|
|
|
|
dh_auto_install |
|
|
|
|
install -pdm755 debian/devilutionx/usr/share/icons/hicolor/512x512/apps/ |
|
|
|
|
install -pdm755 debian/devilutionx/usr/share/applications/ |
|
|
|
|
install -pdm755 debian/devilutionx/usr/share/fonts/truetype/ |
|
|
|
|
install -pdm755 debian/devilutionx/usr/share/games/diablo/ |
|
|
|
|
install -Dm664 Packaging/resources/icon.png debian/devilutionx/usr/share/icons/hicolor/512x512/apps/devilutionx.png |
|
|
|
|
install -Dm664 Packaging/fedora/devilutionx.desktop debian/devilutionx/usr/share/applications/ |
|
|
|
|
install -Dm664 Packaging/resources/CharisSILB.ttf debian/devilutionx/usr/share/fonts/truetype/ |
|
|
|
|
install -Dm755 obj-${DEB_HOST_MULTIARCH}/devilutionx debian/devilutionx/usr/share/games/diablo/ |
|
|
|
|
|
|
|
|
|
DESTDIR=$$(pwd)/debian/devilutionx cmake --install ./obj-${DEB_HOST_MULTIARCH} |
|
|
|
|
|