From 6dbb79b774e23f73d0fcbc5a30aab8bffe0ef7e6 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Wed, 8 Apr 2015 13:23:29 +0200 Subject: [PATCH] libreptool: rebuild (anche a 64bit), fix path e install licenza. --- packages/mingw-w64-libreptool/002-paths.patch | 20 +++++++++++++++++++ packages/mingw-w64-libreptool/PKGBUILD | 11 +++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 packages/mingw-w64-libreptool/002-paths.patch diff --git a/packages/mingw-w64-libreptool/002-paths.patch b/packages/mingw-w64-libreptool/002-paths.patch new file mode 100644 index 0000000..15e62b1 --- /dev/null +++ b/packages/mingw-w64-libreptool/002-paths.patch @@ -0,0 +1,20 @@ +--- ./src/Makefile.am.orig 2015-04-08 13:09:03.531850300 +0200 ++++ ./src/Makefile.am 2015-04-08 13:11:58.152822300 +0200 +@@ -31,7 +31,7 @@ + rptreport.c \ + rptprint.c \ + rptcommon.c \ +- rptmarshal.c ++ $(srcdir)/rptmarshal.c + + libreptool_include_HEADERS = \ + libreptool.h \ +@@ -49,7 +49,7 @@ + parser.tab.h \ + lexycal.yy.h \ + rptreport_priv.h \ +- rptmarshal.h ++ $(srcdir)/rptmarshal.h + + EXTRA_DIST = \ + parser.y \ diff --git a/packages/mingw-w64-libreptool/PKGBUILD b/packages/mingw-w64-libreptool/PKGBUILD index 5ddb582..6cff90b 100644 --- a/packages/mingw-w64-libreptool/PKGBUILD +++ b/packages/mingw-w64-libreptool/PKGBUILD @@ -3,7 +3,7 @@ _realname=libreptool pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=0.5.0 -pkgrel=2 +pkgrel=3 arch=('any') pkgdesc="Library to make reports (mingw-w64)" depends=("${MINGW_PACKAGE_PREFIX}-libgda-full") @@ -14,14 +14,17 @@ options=('!strip' 'debug' 'staticlibs') license=("LGPL 2.1") url="http://saetta.ns0.it/" source=(git+http://saetta.ns0.it/git/reptool/${_realname}#branch=gtk3 - 001-no-install-hook.patch) + 001-no-install-hook.patch + 002-paths.patch) sha256sums=('SKIP' - 'bb34d7812aff00065dc12c4439b758f253668ce2dc2775718dada8b3d4ece713') + 'bb34d7812aff00065dc12c4439b758f253668ce2dc2775718dada8b3d4ece713' + '1aa840860f3325c25f3e0a8bbfe850f203b833a29a38479441ecbcfaacd2b5bd') prepare() { cd ${_realname} patch -p1 -i ${srcdir}/001-no-install-hook.patch + patch -p1 -i ${srcdir}/002-paths.patch } build() { @@ -40,4 +43,6 @@ build() { package() { cd "$srcdir/build-${MINGW_CHOST}" make DESTDIR=$pkgdir install + + install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" } -- 2.49.0