2 # Maintainer: kappa <kappacurve@gmail.com>
7 pkgdesc="3D modeling program."
9 url="http://www.wings3d.com"
11 depends=('esdl>=1.0.1')
12 optdepends=('povray: rendering support via POV-Ray' 'kerkythea: rendering support via Kerkythea')
13 replaces=('wings' 'wings-devel')
14 install=wings3d.install
15 source=(http://downloads.sourceforge.net/wings/${_pkgname}-${pkgver}.tar.bz2
16 wings3d wings3d.desktop wings3d.png wings3d.install)
17 md5sums=('f62a06acdbf2d4ef09ce2bf55e8cec0f'
18 '62fd2b01d06b88b64d6ea4f043c6cc48'
19 'bd136dc7a2ebea6293b188c928fe4c78'
20 '150ee5b1b9b44e20862210c9b01e53f4'
21 'fe97a01e5f683b08eb8079120117d94e')
23 cd "${srcdir}/${_pkgname}-${pkgver}"
25 export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
31 cd "${srcdir}/${_pkgname}-${pkgver}"
33 mkdir -p ${pkgdir}/usr/lib/${pkgname}
34 for subdir in ebin fonts patches plugins shaders textures ; do
35 cp -r "${srcdir}/${_pkgname}-${pkgver}/${subdir}/" "${pkgdir}/usr/lib/${pkgname}"
38 install -D -m 755 ${srcdir}/wings3d ${pkgdir}/usr/bin/wings3d
39 install -D -m 644 ${srcdir}/wings3d.desktop ${pkgdir}/usr/share/applications/wings3d.desktop
40 install -D -m 644 ${srcdir}/wings3d.png ${pkgdir}/usr/share/pixmaps/wings3d.png
41 install -D -m 644 ${srcdir}/${_pkgname}-${pkgver}/license.terms ${pkgdir}/usr/share/licenses/wings3d/license.terms