summaryrefslogtreecommitdiff
path: root/extra/libzvt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libzvt/PKGBUILD')
-rw-r--r--extra/libzvt/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/libzvt/PKGBUILD b/extra/libzvt/PKGBUILD
index befd04741..2cd466883 100644
--- a/extra/libzvt/PKGBUILD
+++ b/extra/libzvt/PKGBUILD
@@ -6,21 +6,24 @@ pkgname=libzvt
pkgver=2.0.1
pkgrel=7
pkgdesc="Zed's virtual terminal library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
url="http://ftp.gnome.org/pub/GNOME/sources/libzvt"
depends=('gtk2' 'libart-lgpl')
makedepends=('pkgconfig')
options=('!libtool')
-source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('4bbea49495a341650fa1f89908e6554e')
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2
+ libzvt-2.0.1-correct_glib_include.patch)
+md5sums=('4bbea49495a341650fa1f89908e6554e'
+ '2e30c7aafd5fc8dc1de0971ca562fee0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/libzvt-2.0.1-correct_glib_include.patch
sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.*
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --libexecdir=/usr/lib
+ --libexecdir=/usr/lib --build=$CHOST
make
}