updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / pugixml / PKGBUILD
blobc376ba77565be53a9c9c1fcb28e084ce9a8d61de
1 # Maintainer: Amr Hassan <amr.hassan@gmail.com>
2 pkgname=pugixml
3 pkgver=1.0
4 pkgrel=2
5 pkgdesc="Light-weight, simple and fast XML parser for C++ with XPath support"
6 url="http://pugixml.org/"
7 arch=('x86_64' 'i686')
8 license=('MIT')
9 makedepends=(cmake)
11 source=("http://pugixml.googlecode.com/files/${pkgname}-${pkgver}.zip"
12         "CMakeLists.txt.patch")
13         
14 md5sums=('8ce0b7c26f6d8dba6585bf1ddfc535e1'
15          '631c4a23e0a84f26e0a36f83b5ad714a')
17 build() {
18   cd "${srcdir}/"
19   patch "${srcdir}/scripts/CMakeLists.txt" CMakeLists.txt.patch
20   cmake scripts -DCMAKE_INSTALL_PREFIX=/usr
21   make
24 package() {
25   cd "${srcdir}"
26   make DESTDIR="${pkgdir}" install