1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
KITS_DIR=debian/hydrogen-drumkits/usr/share/hydrogen/data/drumkits
FXKITS_DIR=debian/hydrogen-drumkits-effects/usr/share/hydrogen/data/drumkits
%:
dh $@
override_dh_auto_configure:
override_dh_auto_build:
override_dh_auto_install:
mkdir -p $(KITS_DIR) $(FXKITS_DIR)
mkdir -p tmp
find drumkits/ \
-name "*.tar.*" -or -name "*.tgz" \
-exec tar xf '{}' -C tmp ';'
find drumkits/ \
-name "*.zip" \
-exec unzip '{}' -d tmp > /dev/null ';'
find drumkits/ \
-name "*.h2drumkit" \
-exec cp '{}' tmp ';'
find tmp/ -name "*.h2drumkit" \
-exec echo installing drumkit '{}' ';' \
-exec tar xf '{}' -C $(KITS_DIR) ';'
find $(KITS_DIR) -type f -exec chmod a-x '{}' '+'
find $(KITS_DIR) -name ".*" -delete
find $(KITS_DIR) -type f \( -name LICENCE -or -name COPYING \) -delete
find $(KITS_DIR) -type d -empty -delete
mv "$(KITS_DIR)"/belofilms* $(FXKITS_DIR)
get-orig-source:
chmod a+x debian/get-orig-source.py
debian/get-orig-source.py
override_dh_auto_clean:
dh_auto_clean
rm -rf tmp/
|