# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=xfce4-vala pkgver=4.10.3 pkgrel=10 pkgdesc="Vala bindings for Xfce4" url="https://wiki.xfce.org/vala-bindings" arch="all" license="LGPL" depends="exo-dev libxfce4util-dev libxfce4ui-dev garcon-dev xfce4-panel-dev xfconf-dev vala automake autoconf libtool" source="https://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala-$pkgver.tar.bz2 gtk3.patch" prepare() { default_prepare autoreconf -vif } build() { local _apiver=$(valac --version | awk '{print $2}' \ | awk -F. '{print $1 "." $2}') ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-vala-api=$_apiver make } package() { make DESTDIR="$pkgdir" install } sha512sums="ef5d6c67d53edc428ed10e59c21a1264a0d6d06efbea531a15f2eb1309e632e3cd275657aeb01c5723f437b9c319b922055598f97b0ee7db45853beef4f4d987 xfce4-vala-4.10.3.tar.bz2 c1f01720e30c77b17fd2d81b3692e7cb077412a0b629fef82a5c5bc421435f9093bcb6a81a72af693e484df2b713afde71567aa139cd521ddf1888701c9bb9a6 gtk3.patch"