summaryrefslogtreecommitdiff
path: root/gnupg/Pkgfile
blob: 88e369083406a582b133af919f8404680a21d2b6 (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
    6 
    7 name=gnupg
    8 version=2.0.16
    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     --mandir=/usr/man \
   20     --disable-nls \
   21     --disable-ldap
   22 
   23     make
   24     make DESTDIR=$PKG install
   25 
   26     chmod u+s $PKG/usr/bin/gpg2
   27     ln -s /usr/bin/gpg2 $PKG/usr/bin/gpg
   28     ln -s /usr/man/man1/gpg2.1.gz $PKG/usr/man/man1/gpg.1.gz
   29 
   30     rm -rf $PKG/usr/share/{info,doc}
   31     rm -f $PKG/usr/share/gnupg/{FAQ,faq.html,qualified.txt}
   32     rm -f $PKG/usr/share/gnupg/help*
   33 }

Generated by cgit