blob: 68837699cc50ea8b5b05f1ca1b38557027ee39d6 (
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
|
# $Id: PKGBUILD 211908 2014-04-29 12:38:45Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libetpan
pkgver=1.4.1
pkgrel=1
pkgdesc="A portable middleware for email access"
arch=('i686' 'x86_64')
url="http://www.etpan.org/libetpan.html"
license=("custom:etpan")
depends=('libsasl' 'curl' 'expat')
source=(https://github.com/dinhviethoa/${pkgname}/archive/${pkgver}.tar.gz)
md5sums=('430a530a38d3bc6028b973a75d219891')
build() {
cd ${pkgname}-${pkgver}
# generate automake files that are not included in the tarball
libtoolize --force --copy
aclocal -I m4
autoheader
autoconf
automake --add-missing --foreign --force --copy
#autoreconf -vfi
./configure --prefix=/usr \
--disable-static \
--disable-db
make
}
check() {
cd ${pkgname}-${pkgver}
make check
cd tests
make imap-sample
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
}
|