# Template file for 'libicns'
pkgname=libicns
version=0.8.1
revision=1
build_style=gnu-configure
makedepends="libpng-devel jasper-devel"
short_desc="Library for manipulating icns/IconFamily files"
maintainer="teldra <teldra@rotce.de>"
license="LGPL-2.0-only, GPL-2.0-only"
homepage="https://icns.sourceforge.io/"
distfiles="${SOURCEFORGE_SITE}/icns/${pkgname}-${version}.tar.gz"
checksum=335f10782fc79855cf02beac4926c4bf9f800a742445afbbf7729dab384555c2

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