1 # Maintainer: mar77i <mysatyre at gmail dot com>
5 pkgdesc="A pyton2-based application for creating, editing, and rendering flam3 fractal images"
7 url="http://fr0st.wordpress.com/"
9 depends=(wxpython flam3 python2-numpy)
10 source=(http://launchpad.net/$pkgname/trunk/1.4.0/+download/$pkgname-$pkgver-src.tgz)
12 md5sums=('c92a83da752aecf0e106ae750daa396c')
19 cd "$srcdir/$pkgname-$pkgver-src"
20 sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/' fr0st.py
21 install -D -m755 fr0st.py "$pkgdir/usr/bin/fr0st"
22 install -D -m644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
23 install -D -m644 changelog.txt "$pkgdir/usr/share/doc/$pkgname/changelog.txt"
26 install -D -m644 "$REPLY" "$pkgdir/usr/share/$pkgname/$REPLY"
27 done < <(find samples icons -type f -print0)
28 mkdir -p "$pkgdir/usr/share/icons/hicolor/48x48/apps"
29 ln -s "../../../../$pkgname/icons/fr0st.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps"
31 install -D -m644 "$REPLY" "$pkgdir/usr/lib/python2.7/$REPLY"
32 done < <(find fr0stlib -type f -print0)
35 # vim:set ts=2 sw=2 et: