[arch-commits] Commit in mypaint/trunk (PKGBUILD mypaint.install)
Sergej Pupykin
spupykin at archlinux.org
Sat Jan 16 15:31:50 UTC 2016
Date: Saturday, January 16, 2016 @ 16:31:50
Author: spupykin
Revision: 156993
upgpkg: mypaint 1.2.0-1
upd
Modified:
mypaint/trunk/PKGBUILD
mypaint/trunk/mypaint.install
-----------------+
PKGBUILD | 24 +++++++-----------------
mypaint.install | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-16 13:05:41 UTC (rev 156992)
+++ PKGBUILD 2016-01-16 15:31:50 UTC (rev 156993)
@@ -3,29 +3,19 @@
# Contributor: Jon Nordby <jononor at gmail.com>
pkgname=mypaint
-pkgver=1.1.0
-pkgrel=5
+pkgver=1.2.0
+pkgrel=1
pkgdesc="A fast and easy painting application for digital painters, with brush dynamics"
arch=('i686' 'x86_64')
-url="http://mypaint.intilinux.com/"
+url="http://mypaint.org/"
license=('GPL' 'LGPL')
-depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2' 'json-c' 'lcms2')
+depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2' 'json-c'
+ 'lcms2' 'python2-gobject' 'gtk3')
makedepends=('scons>=0.97' 'swig>=1.3.39')
install=mypaint.install
-source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('7846a8406259d0fc81c9a2157a2348bf')
+source=(https://github.com/mypaint/mypaint/releases/download/v$pkgver/mypaint-$pkgver.tar.xz)
+md5sums=('c7c2cfac8e1eec5549e58567ec68daac')
-prepare() {
- 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
- sed -i "s|'json|'json-c|" brushlib/SConscript
-}
-
build() {
cd $srcdir/$pkgname-$pkgver
scons
Modified: mypaint.install
===================================================================
--- mypaint.install 2016-01-16 13:05:41 UTC (rev 156992)
+++ mypaint.install 2016-01-16 15:31:50 UTC (rev 156993)
@@ -1,7 +1,7 @@
post_install() {
[ -x `which update-mime-database` ] && update-mime-database usr/share/mime
[ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- /bin/true
+ bin/true
}
post_upgrade() {
More information about the arch-commits
mailing list