summaryrefslogtreecommitdiff
path: root/gnupg/Pkgfile
blob: eee52025d535d7ad16aeb65c50e2826c4bdd1a89 (plain)
    1 # Description: GNU privacy guard
    2 # URL:         http://www.gnupg.org
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager:    Daniel Mueller, daniel at danm dot de
    5 # Depends on:  libgcrypt, libassuan, libksba, pinentry, npth
    6 
    7 name=gnupg
    8 version=2.1.14
    9 release=1
   10 source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2)
   11         
   12 
   13 build () {
   14     cd $name-$version 
   15 
   16     ./configure \
   17     --prefix=/usr \
   18     --libexecdir=/usr/lib \
   19     --disable-nls \
   20     --disable-ldap
   21 
   22     make
   23     make DESTDIR=$PKG install
   24 
   25     chmod u+s $PKG/usr/bin/gpg2
   26     ln -s /usr/bin/gpg2 $PKG/usr/bin/gpg
   27     ln -s /usr/share/man/man1/gpg2.1.gz $PKG/usr/share/man/man1/gpg.1.gz
   28 
   29     rm -rf $PKG/usr/share/{info,doc}
   30     rm -f $PKG/usr/share/gnupg/{FAQ,faq.html,qualified.txt}
   31     rm -f $PKG/usr/share/gnupg/help*
   32 }

Generated by cgit