aboutsummaryrefslogtreecommitdiffstats
path: root/main/sylpheed/APKBUILD
blob: 3175b2ae98655d689a28021c49beb2edf6613664 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sylpheed
pkgver=3.4.3
pkgrel=1
pkgdesc="Lightweight and user-friendly e-mail client"
url="http://sylpheed.sraoss.jp/en/"
arch="all"
license="GPL"
depends="pinentry-gtk"
makedepends="gtk+-dev openldap-dev openssl-dev gpgme-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="http://$pkgname.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	gmodule.patch
	"

prepare() {
	cd "$srcdir/sylpheed-$pkgver"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$srcdir/sylpheed-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-ldap \
		--disable-gtkspell \
		--enable-gpgme \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/sylpheed-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="3a7d10b68017988b48e5c2a27e559e98  sylpheed-3.4.3.tar.bz2
e9a3795219bc9c6cafc1cc360eeb9854  gmodule.patch"
sha256sums="09fae954c775073b43ce2f660a6bed1087237659eade1c68913cb86add1fb905  sylpheed-3.4.3.tar.bz2
294575fec0ccecfa5928a7e15c94c5369d392255dcd8e3539f6acd6a8f02818e  gmodule.patch"
sha512sums="cadae6a6855fae8c2df249d83cfd2d7b214062e3e49c74f6d64b3c2f97a9eb2586f14e2b766715e07fa1b229e4462cd39eee69bd02c26053b1ed93a497c3836b  sylpheed-3.4.3.tar.bz2
7f975df8691b79eb874179998fc873790471bc9d96b13449fee6134175cde1c1461b946c3a66852fae6214f0f44a6c73a24e11b7ae8ae0a30901ad8861e9525a  gmodule.patch"