aboutsummaryrefslogtreecommitdiffstats
path: root/main/sylpheed/APKBUILD
blob: 7170d238e65d8565018648e359fb88d80a2ea10f (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.1
pkgrel=0
pkgdesc="Lightweight and user-friendly e-mail client"
url="http://sylpheed.sraoss.jp/en/"
arch="all"
license="GPL"
depends=
makedepends="gtk+-dev openldap-dev openssl-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 \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/sylpheed-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}
md5sums="9071bb341a6d96244fe7cd5ff013c70d  sylpheed-3.4.1.tar.bz2
e9a3795219bc9c6cafc1cc360eeb9854  gmodule.patch"
sha256sums="7ded48cff0761332d829008e2b6536f54d5c6330f9c45d7123172864b78b9787  sylpheed-3.4.1.tar.bz2
294575fec0ccecfa5928a7e15c94c5369d392255dcd8e3539f6acd6a8f02818e  gmodule.patch"
sha512sums="172df862aae8ac9d8407f733ecf6c9b7cc6027ea8539f80f540f5b304236c6cb500df3ee29a3181d2c4896bb6c8d74f83658bf47aa716be5ef4b0e5fae8df04d  sylpheed-3.4.1.tar.bz2
7f975df8691b79eb874179998fc873790471bc9d96b13449fee6134175cde1c1461b946c3a66852fae6214f0f44a6c73a24e11b7ae8ae0a30901ad8861e9525a  gmodule.patch"