From ad7e4e55d198239e75813dc19f8ed3f2e511964c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 18 Mar 2020 12:37:56 +0100 Subject: DEB: Create a .tdepkginfo containing package metadata. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/_base/applications/kbarcode/debian/cdbs/debian-tde.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ubuntu/_base/applications/kbarcode/debian') diff --git a/ubuntu/_base/applications/kbarcode/debian/cdbs/debian-tde.mk b/ubuntu/_base/applications/kbarcode/debian/cdbs/debian-tde.mk index 7a55130b2..24191b2cd 100644 --- a/ubuntu/_base/applications/kbarcode/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/applications/kbarcode/debian/cdbs/debian-tde.mk @@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake endif debian/rules clean +.tdepkginfo: + echo "# TDE package information" >.tdepkginfo + dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo + dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo + date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo + +post-patches:: .tdepkginfo + common-build-arch:: debian/stamp-man-pages debian/stamp-man-pages: if ! test -d debian/man/out; then mkdir -p debian/man/out; fi @@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake subdirs; \ fi endif + rm -f .tdepkginfo rm -f debian/stamp-kde-apidox rm -f debian/stamp-cvs-make -- cgit v1.2.1