aboutsummaryrefslogtreecommitdiffstats
path: root/main/sylpheed/APKBUILD
blob: 831cf1ff45adbe376f9640ab080a1efc1c78a835 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sylpheed
pkgver=3.5.0
pkgrel=0
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
	"

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="289cdd2bef00dd5f17fa90def1cc9d81  sylpheed-3.5.0.tar.bz2"
sha256sums="4a0b62d17bca6f1a96ab951ef55a9a67813d87bc1dc3ee55d8ec2c045366a05c  sylpheed-3.5.0.tar.bz2"
sha512sums="fa2803c41a935089989d93cd78ef0dd04d5c0117283f37b82f3d5e76eb753d38960ce3cc122936883cb3057e834acaa03b1a565cd31202331527d07a24e8d5b0  sylpheed-3.5.0.tar.bz2"