updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / collada-dom / PKGBUILD
blobc096d964878beff004961376d4cf9d992da3d92f
1 # Contributer: N30N <archlinux@alunamation.com>
3 pkgname="collada-dom"
4 pkgver=2.3.1
5 pkgrel=1
6 pkgdesc="An API that provides a C++ object representation of a COLLADA XML instance document."
7 url="http://collada-dom.sourceforge.net/"
8 license=("custom")
9 arch=("i686" "x86_64")
10 depends=("libxml2" "boost" "pcre")
11 makedepends=("cmake")
12 source=("http://downloads.sf.net/${pkgname}/collada_dom-${pkgver}-src.tgz")
13 md5sums=("a74d19c1187806a713cec90c2f0f692c")
15 build() {
16         [ -d build ] && rm -rf build
17         mkdir build
18         cd build
19         cmake \
20                 -DCMAKE_INSTALL_PREFIX=/usr \
21                 "../${pkgname}-${pkgver}"
22         make
25 package() {
26         cd build
27         make DESTDIR="${pkgdir}" install
29         install -D -m644 ../${pkgname}-${pkgver}/License_Folder/license_e.txt \
30                 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
33 # vim: set noet ff=unix: