File: rules

package info (click to toggle)
freealchemist 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 236 kB
  • sloc: python: 294; makefile: 10; sh: 2
file content (14 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_install:
	install -m 755 $(CURDIR)/debian/freealchemist-starter $(CURDIR)/debian/freealchemist/usr/games/freealchemist

get-orig-source:
	VER=$(shell dpkg-parsechangelog | sed -rn 's,^Version: ([^-]*).*,\1,p');\
	git clone -q https://github.com/dakk/FreeAlchemist.git orig-source &&\
	cd orig-source && git checkout -q v$$VER &&\
	git archive --format tar --prefix freealchemist-$$VER/ HEAD | bzip2 -9 > ../freealchemist_$$VER.orig.tar.bz2
	rm -rf orig-source