updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / coin-doc / PKGBUILD
blobddd1dfc808b62c02a9a7561171ba9c81b8f03c10
1 # Maintainer: mickele <mimocciola@yahoo.com>
2 pkgname=coin-doc
3 pkgver=3.1.3
4 pkgrel=1
5 pkgdesc="Coin3D HTML documentation."
6 url="http://www.coin3d.org/"
7 license="GPL"
8 arch=('i686' 'x86_64')
9 depends=()
10 optdepends=()
11 makedepends=('make' 'gcc' 'doxygen')
12 conflicts=()
13 provides=()
14 replaces=()
15 backup=()
16 install=
17 options=('docs')
18 source=("http://ftp.coin3d.org/coin/src/all/Coin-${pkgver}.tar.gz")
20 build() {
21   cd "${srcdir}" || return 1
22   mkdir build || return 1
23   cd build || return 1
25   ../Coin-${pkgver}/configure --prefix=/usr \
26                             --enable-html \
27                             || return 1
29   make DESTDIR="${pkgdir}" install || return 1
31   rm -rf "${pkgdir}/usr/include" || return 1
32   rm -rf "${pkgdir}/usr/bin" || return 1
33   rm -rf "${pkgdir}/usr/lib" || return 1
34   rm -rf "${pkgdir}/usr/share/aclocal" || return 1
35   rm -rf "${pkgdir}/usr/share/man" || return 1
36   rm -rf "${pkgdir}/usr/share/Coin" || return 1
38 md5sums=('1538682f8d92cdf03e845c786879fbea')