summaryrefslogtreecommitdiff
path: root/extra/libetpan/PKGBUILD
blob: f947a2a740be58c67ef8ee943cad00856ab9fd82 (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
# $Id: PKGBUILD 198154 2013-10-30 13:07:31Z allan $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=libetpan
pkgver=1.1
pkgrel=4
pkgdesc="A portable middleware for email access"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.etpan.org/"
license=("custom:etpan")
depends=('libsasl' 'curl' 'expat')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('6fee60d08506e941642b8fa087e60b07')

build() {
  cd ${pkgname}-${pkgver}
  ./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
}