23 lines
640 B
Bash
23 lines
640 B
Bash
# Template file for 'automoc4'
|
|
pkgname=automoc4
|
|
version=0.9.88
|
|
revision=4
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="qt-devel"
|
|
short_desc="Automatic moc for Qt 4 packages"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
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
|
|
}
|