1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
NAME=zsh-syntax-highlighting
PREFIX=/usr
include /usr/share/dpkg/pkg-info.mk
override_dh_auto_install:
dh_auto_install -- PREFIX=$(PREFIX)
rm debian/$(NAME)/usr/share/doc/$(NAME)/COPYING.md
%:
dh $@
_origtar: upstream_tag=$(shell printf %s $(DEB_VERSION_UPSTREAM) | sed -e 's/[~]/-/')
_origtar:
git tag --verify $(upstream_tag)
git archive --format=tar --output=../zsh-syntax-highlighting_$(DEB_VERSION_UPSTREAM).orig.tar --prefix=zsh-syntax-highlighting-$(DEB_VERSION_UPSTREAM)/ $(upstream_tag)
xz -7v ../zsh-syntax-highlighting_$(DEB_VERSION_UPSTREAM).orig.tar
|