1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-15 10:12:07 -04:00

Manual Changelog versioning

This commit is contained in:
purian23
2025-12-10 13:52:29 -05:00
parent b2066c60d1
commit 0dbd59b223
12 changed files with 121 additions and 37 deletions

View File

@@ -29,10 +29,15 @@ override_dh_auto_build:
# Extract source tarball for QML files
tar -xzf dms-source.tar.gz
# Find the extracted directory (it might have various names)
# and create a symlink to expected name for consistent install
SOURCE_DIR=$$(find . -maxdepth 1 -type d -name "DankMaterialShell*" | head -n1); \
if [ -n "$$SOURCE_DIR" ]; then \
ln -sf $$SOURCE_DIR DankMaterialShell-$(BASE_VERSION); \
# and rename it to the expected BASE_VERSION name for consistent install
SOURCE_DIR=$$(find . -maxdepth 1 -type d -name "DankMaterialShell-*" ! -name "DankMaterialShell-$(BASE_VERSION)" | head -n1); \
if [ -n "$$SOURCE_DIR" ] && [ "$$SOURCE_DIR" != "./DankMaterialShell-$(BASE_VERSION)" ]; then \
echo "Renaming $$SOURCE_DIR to DankMaterialShell-$(BASE_VERSION)"; \
mv "$$SOURCE_DIR" DankMaterialShell-$(BASE_VERSION); \
elif [ ! -d "DankMaterialShell-$(BASE_VERSION)" ]; then \
echo "ERROR: No DankMaterialShell directory found after extraction!"; \
ls -la; \
exit 1; \
fi
override_dh_auto_install: