blob: e64faa60718d399ff1cf6a383107d3d449641d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 121250 2011-04-29 21:23:37Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libgcrypt
pkgver=1.4.6
pkgrel=3
pkgdesc="a general purpose crypto library based on the code used"
arch=(i686 x86_64 'mips64el')
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.9')
options=('!libtool' '!emptydirs')
install=$pkgname.install
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
#ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
)
md5sums=('dbf99425a4fe9217c84ce3a35d938634')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--disable-static \
--disable-padlock-support
make
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
# Move dynamic libraries to /lib
install -d -m755 "${pkgdir}"/lib/
mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/
ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so
}
|