# Description: Contains a library that defines common error values for all GnuPG components
# URL: http://www.gnupg.org
# Packager: pierre at nutyx dot org

name=libgpg-error
version=1.21
release=1

source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2)

build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
install -v -m644 -D README \
$PKG/usr/share/doc/$name-$version/README
rm -f $PKG/usr/share/info/dir
}
