# $Id: PKGBUILD 205522 2014-02-06 16:23:03Z andyrtr $ # Maintainer: Andreas Radke pkgname=libetpan pkgver=1.2 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=('c15905ebc2ec620afb8bcca7b9d9c232') 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 } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt }