aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/vala-dbus-binding-tool/APKBUILD
blob: f3ef441025e86abd1eb6ac7f6ef7cc745569347d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vala-dbus-binding-tool
pkgver=0.4.0
pkgrel=0
pkgdesc="Vala DBus binding tool"
url="http://git.freesmartphone.org/?p=vala-dbus-binding-tool.git;a=summary"
arch="all"
license="GPLv3"
depends=""
depends_dev=""
makedepends="$depends_dev libgee-dev vala"
install=""
subpackages=""
source="http://dev.alpinelinux.org/archive/vala-dbus-binding-tool/vala-dbus-binding-tool-$pkgver.tar.bz2"

_builddir="$srcdir"/vala-dbus-binding-tool-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="676ba3f4c740ca3e0b0a7939698cab95  vala-dbus-binding-tool-0.4.0.tar.bz2"
sha256sums="a6555478f45b2303e2864c8a2065d07461103ca92a6eb2572aef305015db39e4  vala-dbus-binding-tool-0.4.0.tar.bz2"
sha512sums="3ad9dcde5f0eaa8c1eb116da8a867cb74304847d3bed5ab1fef137e18a572c9c0fe86f6ca7cc7da249365670f38c50ebe6f4e711caef8861554291de433afac9  vala-dbus-binding-tool-0.4.0.tar.bz2"