1 include /usr
/share
/dpkg
/pkg-info.mk
5 export VERSION
=${DEB_VERSION_UPSTREAM_REVISION}
8 XTERMJSTGZ
=xterm-
${XTERMJSVER}.tgz
11 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
12 GITVERSION
:=$(shell git rev-parse HEAD
)
14 DEB
=${PACKAGE}_
${VERSION}_all.deb
15 DSC
=${PACKAGE}_
${VERSION}.dsc
20 ${BUILDDIR}: ${SRCDIR} debian
22 rsync
-a
${SRCDIR}/ debian
${BUILDDIR}
23 echo
"git clone git://git.proxmox.com/git/pve-xtermjs.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
28 cd
${BUILDDIR}; dpkg-buildpackage
-b
-uc
-us
35 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
38 X_EXCLUSIONS
=--exclude
=addons
/attach
--exclude
=addons
/fullscreen
--exclude
=addons
/search \
39 --exclude
=addons
/terminado
--exclude
=addons
/webLinks
--exclude
=addons
/zmodem
42 wget https
://registry.npmjs.org
/xterm
/-/${XTERMJSTGZ} -O
${XTERMJSTGZ}.tmp
43 mv
${XTERMJSTGZ}.tmp
${XTERMJSTGZ}
44 tar -C
$(SRCDIR
)/www
-xf
${XTERMJSTGZ} package
/dist --strip-components
=2 ${X_EXCLUSIONS}
49 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist buster
56 rm -rf
*~ debian
/*~
${PACKAGE}-*/ *.deb
*.changes
*.dsc
*.
tar.gz
*.buildinfo