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 +}