debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | %: |
| 3 | dh $@ |
| 4 | |
| 5 | override_dh_install: |
| 6 | # Installing package |
| 7 | install -d -m 0755 debian/fonts-dustin/usr/share/fonts/truetype/dustin |
| 8 | |
| 9 | cd debian/fonts-dustin/usr/share/fonts/truetype/dustin && \ |
| 10 | for ARCHIVE in $(CURDIR)/*.zip; \ |
| 11 | do \ |
| 12 | TZ=UTC unzip $$ARCHIVE '*.ttf' || exit 1; \ |
| 13 | done |
| 14 | |
| 15 | # Fixing file names |
| 16 | mv "debian/fonts-dustin/usr/share/fonts/truetype/dustin/It wasn't me.ttf" \ |
| 17 | "debian/fonts-dustin/usr/share/fonts/truetype/dustin/It_wasn_t_me.ttf" |