summaryrefslogtreecommitdiff
path: root/community/paco
diff options
context:
space:
mode:
Diffstat (limited to 'community/paco')
-rw-r--r--community/paco/PKGBUILD9
-rw-r--r--community/paco/paco-2.0.9-glib.patch11
2 files changed, 17 insertions, 3 deletions
diff --git a/community/paco/PKGBUILD b/community/paco/PKGBUILD
index 2bc35fa4d..4b0c5e107 100644
--- a/community/paco/PKGBUILD
+++ b/community/paco/PKGBUILD
@@ -6,17 +6,20 @@ pkgname=paco
pkgver=2.0.9
pkgrel=2
pkgdesc="LFS packet manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://paco.sourceforge.net/index.html"
license=('GPL')
#NOTE: You may disable gtk frontend in configure
depends=(gtk2 gtkmm)
backup=(etc/pacorc)
-source=(http://downloads.sourceforge.net/sourceforge/paco/$pkgname-$pkgver.tar.bz2)
-md5sums=('d2debbea1b11156470f7fd849bb93c80')
+source=(http://downloads.sourceforge.net/sourceforge/paco/$pkgname-$pkgver.tar.bz2
+ paco-2.0.9-glib.patch)
+md5sums=('d2debbea1b11156470f7fd849bb93c80'
+ '734d0170691cd6b500bfa99fdd09771a')
build() {
cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/paco-2.0.9-glib.patch
./configure --prefix=/usr --sysconfdir=/etc
make
make DESTDIR=$pkgdir install
diff --git a/community/paco/paco-2.0.9-glib.patch b/community/paco/paco-2.0.9-glib.patch
new file mode 100644
index 000000000..fba19d3a7
--- /dev/null
+++ b/community/paco/paco-2.0.9-glib.patch
@@ -0,0 +1,11 @@
+--- paco-2.0.9.orig/gpaco/gconfig.h 2010-06-25 14:51:00.000000000 -0500
++++ paco-2.0.9/gpaco/gconfig.h 2012-12-25 02:51:26.449929758 -0500
+@@ -11,7 +11,7 @@
+
+ #include "paco/baseconfig.h"
+ #include <glibmm/ustring.h>
+-#include <glib/gkeyfile.h>
++#include <glib.h>
+ #include <vector>
+
+