[arch-commits] Commit in mypaint/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 26 10:18:20 UTC 2014


    Date: Monday, May 26, 2014 @ 12:18:20
  Author: spupykin
Revision: 111884

json-c 0.12 fix

Modified:
  mypaint/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-26 09:30:13 UTC (rev 111883)
+++ PKGBUILD	2014-05-26 10:18:20 UTC (rev 111884)
@@ -4,7 +4,7 @@
 
 pkgname=mypaint
 pkgver=1.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics"
 arch=('i686' 'x86_64')
 url="http://mypaint.intilinux.com/"
@@ -15,7 +15,7 @@
 source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2)
 md5sums=('7846a8406259d0fc81c9a2157a2348bf')
 
-build() {
+prepare() {
   cd $srcdir/$pkgname-$pkgver
   # python2 fix
   sed -i 's_python generate.py_python2 generate.py_' brushlib/SConscript
@@ -23,6 +23,11 @@
     sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
     sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
   done
+  sed -i "s|'json|'json-c|" brushlib/SConscript
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
   scons
 }
 




More information about the arch-commits mailing list