forked from DL-Mirrors/pkcs11-helper
upgpkg: 1.30.0-2: build from git sources, clean up
This commit is contained in:
7
.SRCINFO
7
.SRCINFO
@@ -1,16 +1,17 @@
|
|||||||
pkgbase = pkcs11-helper
|
pkgbase = pkcs11-helper
|
||||||
pkgdesc = A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine
|
pkgdesc = A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine
|
||||||
pkgver = 1.30.0
|
pkgver = 1.30.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/OpenSC/pkcs11-helper
|
url = https://github.com/OpenSC/pkcs11-helper
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL
|
license = GPL
|
||||||
license = BSD
|
license = BSD
|
||||||
|
makedepends = git
|
||||||
depends = gnutls
|
depends = gnutls
|
||||||
depends = nss
|
depends = nss
|
||||||
depends = openssl
|
depends = openssl
|
||||||
provides = libpkcs11-helper.so
|
provides = libpkcs11-helper.so
|
||||||
source = https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-1.30.0/pkcs11-helper-1.30.0.tar.bz2
|
source = git+https://github.com/OpenSC/pkcs11-helper#tag=pkcs11-helper-1.30.0
|
||||||
sha256sums = 4c5815ba910cabf26df08d449ca2909daf4538c9899aa7f7fadc61229d3488a9
|
sha256sums = 9ad2b74ec2604fa41f87be143b375e82db72a954f99edf8df8ad684ea84f9adf
|
||||||
|
|
||||||
pkgname = pkcs11-helper
|
pkgname = pkcs11-helper
|
||||||
|
|||||||
27
PKGBUILD
27
PKGBUILD
@@ -5,32 +5,39 @@
|
|||||||
|
|
||||||
pkgname=pkcs11-helper
|
pkgname=pkcs11-helper
|
||||||
pkgver=1.30.0
|
pkgver=1.30.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine'
|
pkgdesc='A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://github.com/OpenSC/pkcs11-helper'
|
url='https://github.com/OpenSC/pkcs11-helper'
|
||||||
license=('GPL' 'BSD')
|
license=('GPL' 'BSD')
|
||||||
depends=('gnutls' 'nss' 'openssl')
|
depends=('gnutls' 'nss' 'openssl')
|
||||||
|
makedepends=('git')
|
||||||
provides=('libpkcs11-helper.so')
|
provides=('libpkcs11-helper.so')
|
||||||
source=("https://github.com/OpenSC/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2")
|
source=("git+https://github.com/OpenSC/${pkgname}#tag=${pkgname}-${pkgver}")
|
||||||
sha256sums=('4c5815ba910cabf26df08d449ca2909daf4538c9899aa7f7fadc61229d3488a9')
|
sha256sums=('9ad2b74ec2604fa41f87be143b375e82db72a954f99edf8df8ad684ea84f9adf')
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
cd pkcs11-helper-$pkgver
|
cd "${pkgname}/"
|
||||||
|
|
||||||
libtoolize
|
libtoolize
|
||||||
aclocal
|
aclocal
|
||||||
autoheader
|
autoheader
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
autoreconf -v
|
autoreconf -v
|
||||||
./configure --prefix=/usr
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${pkgname}/"
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd pkcs11-helper-$pkgver
|
cd "${pkgname}/"
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="${pkgdir}" install
|
||||||
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname/
|
mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||||
install -D -m0644 COPYING* "$pkgdir"/usr/share/licenses/$pkgname/
|
install -D -m0644 COPYING* "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user