1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
6 pkgdesc="LeoCAD is a CAD program that uses bricks similar to those found in many toys (but they don't represent any particular brand)."
8 url="http://leocad.gerf.org/"
10 depends=('zlib' 'libjpeg' 'libpng' 'gtk2' 'mesa')
11 install=${pkgname}.install
12 source=("http://leocad.googlecode.com/files/${pkgname}-${pkgver}.tgz" "http://leocad.googlecode.com/files/pieces-3934.zip")
13 md5sums=('f0b89a78ee04f5557631a089ffcff107'
14 '9177d153d22fa58213d5817ad3198e18')
18 mkdir -p ${pkgdir}/usr/lib/pieces/
19 cd ${srcdir}/${pkgname}-${pkgver}/linux
24 cd ${srcdir}/${pkgname}-${pkgver}
25 make DESTDIR=${pkgdir} install
26 msg "Installing libraries"
27 install -Dm644 ${srcdir}/*.bin ${pkgdir}/usr/lib/pieces/
28 install -Dm644 ${srcdir}/*.idx ${pkgdir}/usr/lib/pieces/
29 install -Dm644 ${srcdir}/*.txf ${pkgdir}/usr/lib/pieces/