# Template build file for 'libgpg-error'.
pkgname=libgpg-error
version=1.12
revision=1
build_style=gnu-configure
short_desc="Library for error values used by GnuPG component"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnupg.org"
license="LGPL-2.1"
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
checksum=cafc9ed6a87c53a35175d5a1220a96ca386696eef2fa059cc0306211f246e55f

post_install() {
	rm -rf ${DESTDIR}/usr/share/common-lisp
}

libgpg-error-devel_package() {
	depends="libgpg-error>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/gpg-error-config
		vmove usr/include
		vmove usr/share/aclocal
		vmove "usr/lib/*.so"
	}
}

libgpg-error_package() {
	pkg_install() {
		vmove usr
	}
}