From 53c718a465da6c801f35a02527a638a2951a72ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Thu, 22 Nov 2018 00:03:49 +0100 Subject: [PATCH] automoc4: rebuild for metadata --- srcpkgs/automoc4/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/automoc4/template b/srcpkgs/automoc4/template index 6faa8aac1a0..61e84c285fb 100644 --- a/srcpkgs/automoc4/template +++ b/srcpkgs/automoc4/template @@ -1,17 +1,22 @@ # Template file for 'automoc4' pkgname=automoc4 version=0.9.88 -revision=3 +revision=4 build_style=cmake hostmakedepends="pkg-config" makedepends="qt-devel" short_desc="Automatic moc for Qt 4 packages" -homepage="http://techbase.kde.org/Development/Tools/Automoc4" -license="BSD" maintainer="Juan RP " -distfiles="http://download.kde.org/stable/${pkgname}/${version}/${pkgname}-${version}.tar.bz2" +license="BSD-2-Clause" +homepage="http://techbase.kde.org/Development/Tools/Automoc4" +distfiles="${KDE_SITE}/automoc4/${version}/automoc4-${version}.tar.bz2" checksum=234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt-qmake qt-host-tools" fi + +post_install() { + sed -n '/Copyright/,/SUCH\./p' kde4automoc.cpp > LICENSE + vlicense LICENSE +}