blob: 10bc39f3f02f38b393d7d3651da7a809e88fc5c6 (
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
43
44
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libtasn1-git
pkgver=4.13.r1.g73fa825
pkgrel=1
pkgdesc="The ASN.1 library used by GnuTLS, GNU Shishi "
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/libtasn1/"
license=('GPL3' 'LGPL')
depends=('glibc')
makedepends=('git' 'gtk-doc')
provides=("libtasn1=$pkgver")
conflicts=('libtasn1')
options=('staticlibs')
source=("git+https://git.savannah.gnu.org/git/libtasn1.git")
sha256sums=('SKIP')
pkgver() {
cd "libtasn1"
git describe --long --tags | sed 's/^libtasn1_//;s/\([^-]*-g\)/r\1/;s/[_-]/./g'
}
build() {
cd "libtasn1"
make bootstrap
./configure \
--prefix="/usr"
make
}
check() {
cd "libtasn1"
make check
}
package() {
cd "libtasn1"
make DESTDIR="$pkgdir" install
}
|