blob: 07b9fbafd82f5f471fd4eda0a18206ab899bbea2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-vala
pkgver=4.10.3
pkgrel=8
pkgdesc="Vala bindings for Xfce4"
url="http://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"
makedepends=""
install=
subpackages=
source="https://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala-$pkgver.tar.bz2
gtk3.patch"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
default_prepare
autoreconf -vif
}
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
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ef5d6c67d53edc428ed10e59c21a1264a0d6d06efbea531a15f2eb1309e632e3cd275657aeb01c5723f437b9c319b922055598f97b0ee7db45853beef4f4d987 xfce4-vala-4.10.3.tar.bz2
c1f01720e30c77b17fd2d81b3692e7cb077412a0b629fef82a5c5bc421435f9093bcb6a81a72af693e484df2b713afde71567aa139cd521ddf1888701c9bb9a6 gtk3.patch"
|