blob: 88de0714f1d0b4c5cac3fb1b5eb5cbca2a31408d (
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
|
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of libgpg-error
_pkgname=libgpg-error
pkgname=libgpg-error-static
pkgver=1.21
pkgrel=1
pkgdesc="Support library for libgcrypt (static libraries only)"
arch=(i686 x86_64 armv7h)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error')
options=('staticlibs')
source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${_pkgname}-${pkgver}.tar.bz2{,.sig})
#ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${_pkgname}-${pkgver}.tar.bz2)
options=('staticlibs')
# https://www.gnupg.org/download/integrity_check.html
sha1sums=('ef1dfb2f8761f019091180596e9e638d8cc37513'
'SKIP')
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
build() {
cd ${_pkgname}-${pkgver}
./configure --prefix=/usr --enable-static
make
}
check() {
cd ${_pkgname}-${pkgver}
make check
}
package() {
cd ${_pkgname}-${pkgver}
make DESTDIR="${pkgdir}/" install
# remove conflicting files
rm -vr ${pkgdir}/usr/{bin,include,share}
rm -v ${pkgdir}/usr/lib/lib*.so*
}
|