mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
30 lines
968 B
Bash
30 lines
968 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=gnupg
|
|
pkgver=1.4.11
|
|
pkgrel=2
|
|
pkgdesc="GNU Privacy Guard - a PGP replacement tool"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL3')
|
|
depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb-compat' 'curl>=7.16.2' 'readline>=6.0.00')
|
|
source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2)
|
|
options=('sign')
|
|
install=gnupg.install
|
|
url="http://www.gnupg.org/"
|
|
sha1sums=('78e22f5cca88514ee71034aafff539c33f3c6676')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --libexecdir=/usr/lib # docdir can't be set properly
|
|
make || return 1
|
|
ln -s ${pkgname}-${pkgver}/scripts ..
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
# fix fileconflict with gnupg2 pkg
|
|
rm ${pkgdir}/usr/share/man/man1/gpg-zip.1
|
|
}
|