summaryrefslogtreecommitdiff
path: root/extra/libetpan/PKGBUILD
blob: cd4a89a5dd0153915145e7efdfcf9b26671e6ed4 (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
# $Id: PKGBUILD 127576 2011-06-16 17:03:09Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=libetpan
pkgver=1.0
pkgrel=3
pkgdesc="A portable middleware for email access"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.etpan.org/"
license=("custom:etpan")
depends=('db>=5.2.28' 'libsasl>=2.1.23' 'curl>=7.21.' 'expat>=2.0.1-1')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('5addc766141a0b1d29ee1ca4ba1b6808')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
}