638350f37d
Packages depending on automoc4 would fail with: => ERROR: xbps-src: failed to read /void-packages/srcpkgs/automoc4/template! Using the common style if/then/fi seems to fix that.
17 lines
557 B
Bash
17 lines
557 B
Bash
# Template file for 'automoc4'
|
|
pkgname=automoc4
|
|
version=0.9.88
|
|
revision=3
|
|
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 <xtraeme@voidlinux.eu>"
|
|
distfiles="http://download.kde.org/stable/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
|
|
checksum=234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt-qmake qt-host-tools"
|
|
fi
|