diff --git a/pkgbuild/cairo-compmgr/PKGBUILD b/pkgbuild/cairo-compmgr/PKGBUILD index efe99af..ed3bdf1 100644 --- a/pkgbuild/cairo-compmgr/PKGBUILD +++ b/pkgbuild/cairo-compmgr/PKGBUILD @@ -9,14 +9,14 @@ pkgname=cairo-compmgr pkgver=0.3.1 -pkgrel=1 +pkgrel=2 epoch=2 pkgdesc="A Cairo based composite manager" arch=(i686 x86_64) url="https://github.com/gandalfn/Cairo-Composite-Manager" license=(LGPL) makedepends=(gettext gtk-doc "intltool>=0.41" git) -depends=("gtk2>=2.16.0" "vala>=0.16" libsm gconf) +depends=("gtk2>=2.16.0" "vala>=0.18" libsm gconf) install=cairo-compmgr.install options=(!libtool) source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2) @@ -26,8 +26,12 @@ md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3') build() { cd "$srcdir/$pkgname-$pkgver" + #patch for compatibility with vala 0.18 (extra) + sed -i 's!libvala-0.16!libvala-0.18!' configure.ac + sed -i 's!libvala-0.16!libvala-0.18!' vapi/cairo-compmgr.deps + ./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0" - make -j1 + make }