updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / fr0st / PKGBUILD
blobdf3bc897aaa7dd975b625506b3ae46c6909b3325
1 # Maintainer: mar77i <mysatyre at gmail dot com>
2 pkgname=fr0st
3 pkgver=1.4
4 pkgrel=2
5 pkgdesc="A pyton2-based application for creating, editing, and rendering flam3 fractal images"
6 arch=(any)
7 url="http://fr0st.wordpress.com/"
8 license=('GPL')
9 depends=(wxpython flam3 python2-numpy)
10 source=(http://launchpad.net/$pkgname/trunk/1.4.0/+download/$pkgname-$pkgver-src.tgz)
11 install=fr0st.install
12 md5sums=('c92a83da752aecf0e106ae750daa396c')
14 build() {
15   :
18 package() {
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"
25   while read -d ''; do
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"
30   while read -d ''; do
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: