summaryrefslogtreecommitdiffstats
path: root/testing/giggle/APKBUILD
blob: 1d42084ef02a4508afd8edcaca147f79a81dd570 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=giggle
pkgver=0.5
pkgrel=0
pkgdesc="graphical frontend for the git content tracker"
url="http://live.gnome.org/giggle"
arch="all"
license="GPL"
depends=
makedepends="gtk+-dev gtksourceview-dev vte-dev"
install=""
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/giggle/$pkgver/giggle-$pkgver.tar.bz2"

_builddir="$srcdir"/giggle-$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 \
		--disable-evolution-data-server \
		|| return 1
	make || return 1
}

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

md5sums="91d2000fb97c5cb0bb0027edf444ecff  giggle-0.5.tar.bz2"