8 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
9 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
11 DEB
=${PACKAGE}_
${PACMANVER}-${DEBREL}_amd64.deb
12 DEB2
=${PACKAGE}-dev_
${PACMANVER}-${DEBREL}_amd64.deb \
13 ${PACKAGE}-dbg_
${PACMANVER}-${DEBREL}_amd64.deb
23 cp
-a debian
${SRCDIR}/debian
24 echo
"git clone git://projects.archlinux.org/pacman.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
25 cd
${SRCDIR}; DEB_BUILD_OPTIONS
=nocheck dpkg-buildpackage
-rfakeroot
-b
-us
-uc
33 rm -rf
${SRCDIR} ${SRCTAR} pacman-git
34 git clone
--depth
=1 --branch
=v
${PACMANVER} git
://projects.archlinux.org
/pacman.git pacman-git
35 (cd pacman-git
&& git archive
--prefix=${SRCDIR}/ --format
=tar v
${PACMANVER}) | gzip
> ${SRCTAR}.tmp
36 mv
${SRCTAR}.tmp
${SRCTAR}
43 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
44 find .
-name
'*~' -exec
rm {} ';'