From 64e6271d23b65175bef392a85d906e43d4e5c7fc Mon Sep 17 00:00:00 2001 From: Alexpux Date: Thu, 15 Jan 2015 19:47:01 +0300 Subject: [PATCH] hidapi: Rebuild. Enable static library --- mingw-w64-hidapi/PKGBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mingw-w64-hidapi/PKGBUILD b/mingw-w64-hidapi/PKGBUILD index fafb886b2f..55317bdac5 100644 --- a/mingw-w64-hidapi/PKGBUILD +++ b/mingw-w64-hidapi/PKGBUILD @@ -1,11 +1,10 @@ # Maintainer: Alexey Pavlov _realname=hidapi - pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" _pre=rc1 pkgver=0.8.0${_pre} -pkgrel=1 +pkgrel=2 pkgdesc="Library for communicating with USB and Bluetooth HID devices (mingw-w64)" arch=('any') url="http://www.signal11.us/oss/hidapi/" @@ -29,13 +28,12 @@ build() { --build=${MINGW_CHOST} \ --host=${MINGW_CHOST} \ --enable-shared \ - --disable-static \ + --enable-static \ --disable-testgui make } package() { - cd "${srcdir}/build-${MINGW_CHOST}" - make DESTDIR="$pkgdir" install - #rm -r "$pkgdir/usr/${_arch}/share" + cd "${srcdir}/build-${MINGW_CHOST}" + make DESTDIR="$pkgdir" install }