mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:37:13 +08:00
34 lines
854 B
Bash
34 lines
854 B
Bash
pkgname=libtasn1
|
|
pkgver=4.9
|
|
pkgrel=1
|
|
pkgdesc="The ASN.1 library used in GNUTLS"
|
|
arch=('x86_64')
|
|
license=('GPL3' 'LGPL')
|
|
url="http://www.gnu.org/software/libtasn1/"
|
|
depends=('glibc' 'texinfo')
|
|
install=libtasn1.install
|
|
source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
|
|
md5sums=('3018d0f466a32b66dde41bb122e6cab6'
|
|
'SKIP')
|
|
validpgpkeys=('1F42418905D8206AA754CCDC29EE58B996865171') #Nikos Mavrogiannopoulos <nmav@gnutls.org>
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--with-packager=Chakra \
|
|
--with-packager-bug-reports="https://chakralinux.org/bugtracker/" \
|
|
--with-packager-version=${pkgver}-${pkgrel}
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|