aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/postler/APKBUILD
blob: e8f3117388162b4ea51aea0a72f828b247fae964 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postler
pkgver=0.1.1
pkgrel=1
pkgdesc="Email client"
url="https://launchpad.net/postler/"
arch=""
license="LGPL2.1"
depends="msmtp"
makedepends="gtk+-dev webkit-dev libunique-dev libnotify-dev libcanberra-dev
	python vala db-dev openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://archive.xfce.org/src/apps/postler/0.1/postler-$pkgver.tar.bz2
	inet_ntoa.patch"

_builddir="$srcdir"/postler-$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"
	./waf configure --prefix=/usr \
		--disable-libindicate \
		|| return 1
	./waf build || return 1
}

package() {
	cd "$_builddir"
	./waf install --destdir="$pkgdir" || return 1
}

md5sums="02e502c9f4a4b92e4ace32d9e268f06d  postler-0.1.1.tar.bz2
06bb9bb2d1a809b6e58b2a5012393151  inet_ntoa.patch"