summaryrefslogtreecommitdiff
path: root/community/mypaint/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
committerroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
commit94e3eb45cd3402cbc5efd70ae725e8d48ed696af (patch)
tree5f43e51e770fce190ea2732d7784460e4a34b351 /community/mypaint/PKGBUILD
parent040215f1ca1d14472525c2562bc33e84f9728d4a (diff)
Tue Jul 19 23:13:07 UTC 2011
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 0b64702d3..cc4d4f85b 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')
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
}