summaryrefslogtreecommitdiff
path: root/community/gnofract4d/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gnofract4d/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gnofract4d/PKGBUILD')
-rw-r--r--community/gnofract4d/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/gnofract4d/PKGBUILD b/community/gnofract4d/PKGBUILD
new file mode 100644
index 000000000..28e11bcea
--- /dev/null
+++ b/community/gnofract4d/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
+
+pkgname=gnofract4d
+pkgver=3.13
+pkgrel=2
+pkgdesc='A fractal browser with PyGTK gui'
+arch=('i686' 'x86_64')
+url='http://gnofract4d.sourceforge.net'
+license=('custom')
+depends=('pygtk' 'libjpeg' 'libpng' 'shared-mime-info')
+options=('!strip')
+install='gnofract4d.install'
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'imageIO.cpp.patch')
+md5sums=('d739eb0a61bc518ada8f5b8952298166'
+ 'ff29a621a27a3836de211c577f6ab9a4')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ patch -p0 < ${srcdir}/imageIO.cpp.patch
+
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ python2 setup.py install --root=${pkgdir} --optimize=1
+
+ install -D -m644 COPYING \
+ ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}