1 # Contributor: Filipp Andjelo <scorp@mailueberfall.de>
7 pkgdesc="Subdivision 3D modeler inspired by Nendo and Mirai from Izware"
9 url="http://www.wings3d.com"
13 source=(http://downloads.sourceforge.net/project/wings/wings/${pkgver}/${_pkgname}-${pkgver}-linux.bzip2.run.gz
14 wings.desktop wings.png wings.install)
19 # Unpack binary installer
20 zcat ./${_pkgname}-${pkgver}-linux.bzip2.run.gz > /dev/null
21 chmod +x ./${_pkgname}-${pkgver}-linux.bzip2.run
22 ./${_pkgname}-${pkgver}-linux.bzip2.run --noexec --target ./temp
26 sed -i 's|^INSTALL_DIR=.*$|INSTALL_DIR="$1"|' install_wings
27 sed -i 's|ROOTDIR=%ROOTDIR%|ROOTDIR=/usr/share/wings|' install_wings
28 ./install_wings ${pkgdir}/usr/share/wings
29 install -D -m755 ${pkgdir}/usr/share/wings/wings ${pkgdir}/usr/bin/wings
30 install -D -m644 ${pkgdir}/usr/share/wings/license.terms ${pkgdir}/usr/share/licenses/wings/license.terms
31 install -D -m644 ${srcdir}/wings.desktop ${pkgdir}/usr/share/applications/wings.desktop
32 install -D -m644 ${srcdir}/wings.png ${pkgdir}/usr/share/pixmaps/wings.png
35 rm ${pkgdir}/usr/share/wings/{wings,license.terms}
38 md5sums=('a17534d2020e75c1423b61e13428f1a1'
39 '5d27a114599aea3a245e828594173614'
40 '150ee5b1b9b44e20862210c9b01e53f4'
41 'fe97a01e5f683b08eb8079120117d94e')