summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92ac34dd0d5762889e4e06b65c2ca2e3f3b8a9d0 (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
41
42
# Maintainer:  Vincent Grande <shoober420@gmail.com>
# Contributor: AndyRTR <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>

pkgname=libtasn1-nodocs-git
pkgver=4.16.0
pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS"
arch=('x86_64')
license=('GPL3' 'LGPL')
url="https://www.gnu.org/software/libtasn1/"
depends=('glibc')
makedepends=(gtk-doc)
source=(git+https://gitlab.com/gnutls/libtasn1.git)
provides=(libtasn1)
conflicts=(libtasn1)
sha256sums=('SKIP')
#validpgpkeys=('1F42418905D8206AA754CCDC29EE58B996865171') #Nikos Mavrogiannopoulos <nmav@gnutls.org>

pkgver() {
  cd libtasn1
  git describe --tags | sed 's/-/+/g'
}

build() {
  cd libtasn1
  ./bootstrap
  ./configure --prefix=/usr --disable-doc
  CODE_COVERAGE_LDFLAGS=${LDFLAGS} make
}

#check() {
#  cd libtasn1
#  make check
#}

package() {
  cd libtasn1
  make DESTDIR="${pkgdir}" install
#  make -C doc/reference DESTDIR="${pkgdir}" install-data-local
}