33 lines
906 B
Bash
33 lines
906 B
Bash
# Template build file for 'libgpg-error'.
|
|
pkgname=libgpg-error
|
|
version=1.31
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Library for error values used by GnuPG component"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1-or-later, GPL-2.0-or-later"
|
|
homepage="https://www.gnupg.org"
|
|
distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=40d0a823c9329478063903192a1f82496083b277265904878f4bc09e0db7a4ef
|
|
|
|
post_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
cp ${FILESDIR}/lock-obj-pub.arm.h \
|
|
src/syscfg/lock-obj-pub.${XBPS_CROSS_TRIPLET#*-}.h
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share/common-lisp
|
|
}
|
|
|
|
libgpg-error-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/gpg-error-config
|
|
vmove usr/include
|
|
vmove usr/share/aclocal
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|