blob: 24a2ebb48cc26e66aca264c4b3cb91d7860ec199 (
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 libtasn1
_pkgname=libtasn1
pkgname=libtasn1-static
pkgver=4.8
pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS (static libraries only)"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/libtasn1/"
depends=('texinfo-static' 'libtasn1')
options=('staticlibs')
source=(http://ftp.gnu.org/gnu/libtasn1/${_pkgname}-${pkgver}.tar.gz{,.sig})
md5sums=('9a6767705725544f2b86670dcfb34107'
'SKIP')
validpgpkeys=('1F42418905D8206AA754CCDC29EE58B996865171') #Nikos Mavrogiannopoulos <nmav@gnutls.org>
build() {
cd ${_pkgname}-${pkgver}
./configure --prefix=/usr \
--with-packager=Parabola \
--with-packager-bug-reports="http://labs.parabola.nu/" \
--with-packager-version=${pkgver}-${pkgrel}
make
}
check() {
cd ${_pkgname}-${pkgver}
make check
}
package() {
cd ${_pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# remove conflicting files
rm -vr ${pkgdir}/usr/{bin,include,lib/pkgconfig,share}
rm -v ${pkgdir}/usr/lib/lib*.so*
}
|