1 include /usr
/share
/dpkg
/pkg-info.mk
5 GITVERSION
:=$(shell git rev-parse HEAD
)
6 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
8 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
12 UPSTREAMTAG
=v7.0
.0-alpha
.3
13 BUILDSRC
=${UPSTREAM}-${UPSTREAMTAG}
23 cp
-a debian
${BUILDDIR}/
24 cp
-a
${SRCDIR}/* ${BUILDDIR}/
25 echo
"git clone git://git.proxmox.com/git/pve-eslint.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
26 cd
${BUILDDIR}; dpkg-buildpackage
-rfakeroot
-b
-uc
-us
32 rm -rf
${UPSTREAM}.tmp
${UPSTREAM}
33 git clone
-b
${UPSTREAMTAG} --depth
1 https
://github.com
/eslint
/eslint
${UPSTREAM}.tmp
34 rm -rf
${UPSTREAM}.tmp
/.git
35 find
${UPSTREAM}.tmp
/ -type f
-name
'.gitignore' -delete
36 mv
${UPSTREAM}.tmp
${UPSTREAM}
38 # NOTE: needs npm installed, downloads packages from npm
40 buildupstream
: ${BUILDSRC}
41 cp
${BUILDSRC}/build
/eslint.js
${SRCDIR}/eslint.js
43 ${BUILDSRC}: ${UPSTREAM} patches
46 rsync
-ra
${UPSTREAM}/ $@.tmp
47 cd
$@.tmp
; ln
-s ..
/patches patches
48 cd
$@.tmp
; quilt push
-a
49 cd
$@.tmp
; rm -rf .
pc .
/patches
52 cd
$@
; npm run webpack
56 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist buster
63 rm -rf
*~ debian
/*~
*.deb
${BUILDSRC} ${BUILDSRC}.tmp
${UPSTREAM}.tmp
${BUILDDIR} *.changes
*.dsc
*.buildinfo