File: rules

package info (click to toggle)
fonts-tiresias 0.1-5
  • links: PTS
  • area: main
  • in suites: buster
  • size: 708 kB
  • sloc: makefile: 16
file content (20 lines) | stat: -rwxr-xr-x 548 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	TZ=UTC unzip -o -d . '*.zip'
	rename 'y/A-Z/a-z/' *
	rename 's/ /_/g' *

override_dh_auto_clean:
	dh_auto_clean
	rm -rf copying

get-orig-source:
	mkdir fonts-tiresias-0.1.orig
	for f in $(wget -q http://www.tiresias.org/fonts/fonts_download.htm#licence -O - | sed -n '/href=/s/.*href="\([^"]*.zip\)".*/\1/gp') ; do
		wget -q -O fonts-tiresias-0.1.orig/$$f http://www.tiresias.org/fonts/$$f
	done
	tar zcf fonts-tiresias_0.1.orig.tar.gz fonts-tiresias-0.1.orig
	rm -rf fonts-tiresias-0.1.orig