updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / libwbxml / PKGBUILD
bloba3e98bfece7d9c41a0885a826a202e08e40311f8
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=libwbxml
4 pkgver=0.10.8
5 pkgrel=1
6 pkgdesc="Library and Tools to parse, encode and handle WBXML documents"
7 arch=('i686' 'x86_64')
8 url="http://libwbxml.opensync.org/"
9 license=('LGPL')
10 depends=('expat')
11 makedepends=('cmake')
12 replaces=('wbxml2')
13 conflicts=('wbxml2')
14 provides=('wbxml2')
15 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
16 md5sums=('7b51c425fc2ff9f502cd9b1e291b1955')
18 build() {
19   cd ${srcdir}
20     if [ -d ${srcdir}/build ]; then
21       (cd build)
22     else
23       mkdir ${srcdir}/build && cd ${srcdir}/build || return 1
24     fi
26   cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
27   make || return 1
28   make DESTDIR=${pkgdir} install