opt/gnupg/Pkgfile

29 lines
639 B
Plaintext

# Description: GNU privacy guard
# URL: https://www.gnupg.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libgcrypt libksba pinentry npth
# Optional: openldap
name=gnupg
version=2.4.5
release=1
source=(https://gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2)
build () {
cd $name-$version
prt-get isinst openldap || PKGMK_GNUPG+=' --disable-ldap'
./configure $PKGMK_GNUPG \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-nls
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/{info,doc}
rm -f $PKG/usr/share/gnupg/{FAQ,faq.html,qualified.txt}
rm -f $PKG/usr/share/gnupg/help*
}