1 # Maintainer: Marq Schneider <queueRAM@gmail.com>
3 pkgname=kicad-library-bzr
6 pkgdesc="Kicad component libraries"
8 url="http://iut-tice.ujf-grenoble.fr/kicad/"
10 makedepends=('cmake' 'bzr')
13 _bzrtrunk="lp:~kicad-lib-committers/kicad/library"
14 _bzrmod="kicad-library"
18 msg "Connecting to BZR server..."
19 if [ ! -d ${srcdir}/${_bzrmod} ] ; then
20 bzr co ${_bzrtrunk} ${_bzrmod}
24 msg "BZR checkout done or server timeout"
26 mkdir -p ${srcdir}/${_bzrmod}/build/Release
27 cd ${srcdir}/${_bzrmod}/build/Release
28 cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
32 cd ${srcdir}/${_bzrmod}/build/Release
34 make DESTDIR=${pkgdir} install