summaryrefslogtreecommitdiffstats
path: root/main/sylpheed/APKBUILD
blob: 7a87966f4dedf2e1100af5ff5e1508d328f69593 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sylpheed
pkgver=3.1.2
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"
source="http://$pkgname.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir/sylpheed-$pkgver"
	./configure --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="17100ab8ef5ef7e431bdbcff68bbf7b4  sylpheed-3.1.2.tar.bz2"