summaryrefslogtreecommitdiffstats
path: root/arch/tde-libs/tde-libcarddav/PKGBUILD
blob: f962ce6515250a60fbc1719c9d55eaaf543c20fa (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
# Maintainer: Michael Manley <mmanley@nasutek.com>
# Contributor: David C. Rankin <drankinatty@gmail.com>

pkgname=tde-libcarddav
pkgver=14.0.5
pkgrel=1
pkgdesc="A client library adding support for the CardDAV protocol"
arch=('i686' 'x86_64')
url="http://scm.trinitydesktop.org/scm/git/libcarddav"
groups=('tde-libs')
depends=('curl')
license=('GPL')
provides=('libcarddav')
# conflicts=()
replaces=('trinity-libcarddav')
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/libcarddav-R${pkgver}.tar.bz2")
md5sums=('cd52173e640c5072bd5bf69e36bba47e')

_prefix=/usr

build() {

  cd $srcdir

  cd ${srcdir}/dependencies/${pkgname#*-}
  msg "Running ./autogen.sh for autoreconf"
  ./autogen.sh --prefix=${_prefix}

  make $NUMJOBS
}

package() {

  cd ${srcdir}/dependencies/${pkgname#*-}
  make -j1 DESTDIR=${pkgdir} install
}