summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2016-03-06 12:08:28 +0100
committerMichel Zou2016-03-06 12:08:28 +0100
commitd942befd54e1214bd931b868ea932f6f953a33ce (patch)
tree319fe79d2c5ad5d3a080668eb85b73c8a072e75f
parentaeb9f162705243c5bd4bef1a9afe137091febb4f (diff)
downloadaur-d942befd54e1214bd931b868ea932f6f953a33ce.tar.gz
0.23.2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f2cb9483510..6bb06b44fc59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sun Mar 6 11:08:28 UTC 2016
pkgbase = mingw-w64-p11-kit
pkgdesc = Library to work with PKCS#11 modules (mingw-w64)
- pkgver = 0.23.1
+ pkgver = 0.23.2
pkgrel = 1
url = http://p11-glue.freedesktop.org
arch = any
@@ -12,9 +14,9 @@ pkgbase = mingw-w64-p11-kit
options = staticlibs
options = !buildflags
options = !strip
- source = http://p11-glue.freedesktop.org/releases/p11-kit-0.23.1.tar.gz
+ source = http://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz
source = mingw-p11-kit-setenv.patch
- md5sums = 96f073270c489c9a594e1c9413f42db8
+ md5sums = 738af2442331fc22f440df9bee9b062a
md5sums = 51efa37a12ce2843ffc2244baca3c272
pkgname = mingw-w64-p11-kit
diff --git a/PKGBUILD b/PKGBUILD
index 81b3c78237d8..57b30c96e0da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-p11-kit
-pkgver=0.23.1
+pkgver=0.23.2
pkgrel=1
pkgdesc="Library to work with PKCS#11 modules (mingw-w64)"
arch=(any)
@@ -10,8 +10,9 @@ depends=('mingw-w64-crt' 'mingw-w64-libtasn1' 'mingw-w64-libffi')
makedepends=('mingw-w64-configure')
options=('staticlibs' '!buildflags' '!strip')
source=($url/releases/p11-kit-$pkgver.tar.gz mingw-p11-kit-setenv.patch)
-md5sums=('96f073270c489c9a594e1c9413f42db8'
+md5sums=('738af2442331fc22f440df9bee9b062a'
'51efa37a12ce2843ffc2244baca3c272')
+
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare() {
@@ -24,9 +25,8 @@ prepare() {
build() {
cd "$srcdir"/p11-kit-${pkgver}
for _arch in ${_architectures}; do
- unset LDFLAGS
mkdir -p build-${_arch} && pushd build-${_arch}
- ${_arch}-configure --disable-static --disable-silent-rules
+ ${_arch}-configure --disable-static --disable-silent-rules --disable-trust-module
make
popd
done
@@ -36,6 +36,9 @@ package() {
for _arch in ${_architectures}; do
cd "$srcdir"/p11-kit-${pkgver}/build-${_arch}
make install DESTDIR="$pkgdir"
+ rm "$pkgdir"/usr/${_arch}/bin/*.exe
+ rm -r "$pkgdir"/usr/${_arch}/lib/p11-kit
+ rm -r "$pkgdir"/usr/${_arch}/etc
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done