aboutsummaryrefslogtreecommitdiffstats
path: root/x11/claws-mail/APKBUILD
blob: 90e0392a7f4e499c3a971baabed0bc7875506f89 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=claws-mail
pkgver=3.7.3
pkgrel=3
pkgdesc="A GTK+ based e-mail client."
url="http://www.claws-mail.org"
license="GPL3"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="gtk+-dev openssl-dev startup-notification-dev enchant-dev
	libsm-dev db-dev curl-dev dbus-glib-dev libetpan-dev"
depends=
#	gpgme-dev libetpan-dev 
#pilot-link>=0.12.3-5
install= #claws-mail.install
source="http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.bz2
	libc-version.patch"


build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	patch -p1 -i ../libc-version.patch || return 1

	./configure --prefix=/usr \
		--disable-static \
		--enable-enchant \
		--enable-openssl \
		--enable-ldap \
		--disable-dillo-viewer-plugin \
		--enable-crash-dialog \
		--enable-pgpmime-plugin \
		--enable-spamassassin-plugin \
		--enable-bogofilter-plugin \
		--disable-jpilot
	make || return 1
	make DESTDIR="$pkgdir" install
	cd tools
	make
	find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i; do
	install -D -m755 ${i} "$pkgdir"/usr/lib/claws-mail/tools/${i}
	done
}
md5sums="b3af5ea5e1182aa53f971657db86e110  claws-mail-3.7.3.tar.bz2
f3416743b5d8ff97b5a3cc2f7efc2dc1  libc-version.patch"