# Template file for 'libapp'
pkgname=libapp
version=20140608
revision=1
build_style=gnu-makefile
hostmakedepends="git"
short_desc="Utilities for repetitive tasks in app development"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="https://github.com/drotiro/libapp"

do_fetch() {
	git clone git://github.com/drotiro/libapp.git ${pkgname}-${version}
}
do_install() {
	make PREFIX=${DESTDIR}/usr install
}

libapp-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}
