# Template build file for 'objfw'
pkgname=objfw
version=0.7.1
revision=1
build_style=gnu-configure
configure_args="--enable-static"
hostmakedepends="clang"
short_desc="Portable, lightweight framework for the Objective-C language."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="https://webkeks.org/objfw/"
license="QPL,GPL-2,GPL-3"
distfiles="https://webkeks.org/${pkgname}/downloads/${pkgname}-${version}.tar.xz"
checksum=3c0159956fa5c34d6d2febf54057a8f37b785ba1621ec4b193f91110434882a4

objfw-devel_package() {
	depends="clang objfw-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/bin
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
