---- libconfi/tests/test.c.orig 2014-11-06 08:56:43.827743800 +0100
-+++ libconfi/tests/test.c 2014-11-06 08:59:22.594743800 +0100
-@@ -16,7 +16,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
--#include <libconfi.h>
-+#include "libconfi.h"
-
- gboolean
- traverse_func (GNode *node,
---- libconfi/tests/Makefile.am.orig 2014-11-06 09:03:12.093743800 +0100
-+++ libconfi/tests/Makefile.am 2014-11-06 09:06:59.124743800 +0100
-@@ -1,7 +1,11 @@
+--- ./tests/Makefile.am.orig 2015-04-14 12:19:29.034410100 +0200
++++ ./tests/Makefile.am 2015-04-14 12:19:36.468424900 +0200
+@@ -1,8 +1,12 @@
-AM_CPPFLAGS = $(LIBCONFI_CFLAGS) \
- -I../src
+AM_CPPFLAGS = $(WARN_CFLAGS) \
+LDADD = $(top_builddir)/src/libconfi.la
noinst_PROGRAMS = test
+
+--- ./tests/test.c.orig 2015-04-14 12:19:34.053090200 +0200
++++ ./tests/test.c 2015-04-14 12:20:43.526175500 +0200
+@@ -17,7 +17,7 @@
+ */
+
+ #include <libpeas/peas.h>
+-#include <libconfi.h>
++#include "libconfi.h"
+
+ gboolean
+ traverse_func (GNode *node,
_realname=libconfi
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
arch=('any')
pkgdesc="Library to manage configurations (mingw-w64)"
depends=("${MINGW_PACKAGE_PREFIX}-libgdaex")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-gtk-doc"
"${MINGW_PACKAGE_PREFIX}-gnome-common")
-options=('strip' 'staticlibs')
+options=('!strip' 'debug' 'staticlibs')
license=("LGPL 2.1")
url="http://saetta.ns0.it/"
-source=(git+http://saetta.ns0.it/git/solipa/confi/${_realname}#branch=libgda5
+source=(git+http://saetta.ns0.it/git/solipa/confi/${_realname}#branch=libpeas
001-include.patch)
sha256sums=('SKIP'
- '6e288ee3a2875b191581806c6d9f07c5b258e7c4b0d84023ff85972083fad3a2')
+ '364e93e2af2b494d5d447ba2b9584f82e2013eda8affcabceb05bb6339cca876')
prepare() {
cd ${_realname}
- patch -p1 -i ${srcdir}/001-include.patch
+ patch -b -V simple -p1 -i ${srcdir}/001-include.patch
}
build() {
package() {
cd "$srcdir/build-${MINGW_CHOST}"
make DESTDIR=$pkgdir install
+
+ install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
}