summaryrefslogtreecommitdiff
path: root/community/mypaint/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-20 11:40:14 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-20 11:40:14 -0300
commit2f352ca8b911d96566b10adc049f76a552ab93aa (patch)
treea70b2a875856fbf847f12ae33f9434ea8ca1ef56 /community/mypaint/PKGBUILD
parent12c074375919d2de177eb9456352866902118a03 (diff)
parent94e3eb45cd3402cbc5efd70ae725e8d48ed696af (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/pbzip2/PKGBUILD extra/audacious/PKGBUILD extra/stardict/PKGBUILD
Diffstat (limited to 'community/mypaint/PKGBUILD')
-rw-r--r--community/mypaint/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/mypaint/PKGBUILD b/community/mypaint/PKGBUILD
index fa2ace03d..9b38e0a35 100644
--- a/community/mypaint/PKGBUILD
+++ b/community/mypaint/PKGBUILD
@@ -1,30 +1,32 @@
-# $Id: PKGBUILD 47074 2011-05-16 14:01:24Z spupykin $
+# $Id: PKGBUILD 51725 2011-07-13 14:26:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>
pkgname=mypaint
pkgver=0.9.1
-pkgrel=2
+pkgrel=3
pkgdesc="A fast and easy painting application for digital painters, with brush dynamics"
arch=('i686' 'x86_64' 'mips64el')
url="http://mypaint.intilinux.com/"
license=('GPL' 'LGPL')
-depends=('pygtk' 'python-numpy' 'protobuf-python' 'python2')
+depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2')
makedepends=('scons>=0.97' 'swig>=1.3.39')
install=mypaint.install
source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('6249a16359a438d6dc658f5765b35515')
build() {
- cd $pkgname-$pkgver
-
+ cd $srcdir/$pkgname-$pkgver
# python2 fix
sed -i 's_python generate.py_python2 generate.py_' brushlib/SConscript
for file in $(find . -name '*.py' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
-
scons
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
scons prefix="$pkgdir"/usr install
}