# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'xfce4-vala' setvar pkgver = '4.10.3' setvar pkgrel = '7' setvar pkgdesc = ""Vala bindings for Xfce4"" setvar url = ""http://wiki.xfce.org/vala-bindings"" setvar arch = ""all"" setvar license = ""LGPL"" setvar depends = ""exo-dev libxfce4util-dev libxfce4ui-dev garcon-dev xfce4-panel-dev xfconf-dev vala"" setvar makedepends = """" setvar install = '' setvar subpackages = '' setvar source = ""http://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala-$pkgver.tar.bz2"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { local _p cd $_builddir for _p in $source { case (_p) { *.patch { msg $_p; patch -p1 -i "$srcdir"/$_p || return 1} } } } proc build { cd $_builddir 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 \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install } setvar md5sums = ""0bbb1d6e473e0fe9b335b7b1b49d8a71 xfce4-vala-4.10.3.tar.bz2"" setvar sha256sums = ""07a8f2b7c09fcdd3d86e0c52adea3c58ca011d0142a93997a01b4af77260ae7b xfce4-vala-4.10.3.tar.bz2"" setvar sha512sums = ""ef5d6c67d53edc428ed10e59c21a1264a0d6d06efbea531a15f2eb1309e632e3cd275657aeb01c5723f437b9c319b922055598f97b0ee7db45853beef4f4d987 xfce4-vala-4.10.3.tar.bz2""