summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/mypaint-gegl-git/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/pcr/mypaint-gegl-git/PKGBUILD b/pcr/mypaint-gegl-git/PKGBUILD
index 261ef7053..e6e4a2098 100644
--- a/pcr/mypaint-gegl-git/PKGBUILD
+++ b/pcr/mypaint-gegl-git/PKGBUILD
@@ -5,14 +5,13 @@
_pkgname=mypaint
pkgname=('mypaint-gegl-git' 'libmypaint-gegl-git')
pkgver=r4141.ad19153
-pkgrel=1
+pkgrel=2
pkgdesc="A fast and easy painting application for digital painters, with brush dynamics and GEGL support"
arch=('i686' 'x86_64' 'armv7h')
url="http://mypaint.intilinux.com/"
license=('GPL' 'LGPL')
depends=('python2-gobject' 'python2-numpy' 'gtk3' 'json-c' 'lcms2' 'gegl')
makedepends=('scons>=0.97' 'swig>=1.3.39' 'git')
-install=mypaint.install
source=($_pkgname-$pkgver::git+https://github.com/$_pkgname/$_pkgname
brushlib::git+https://github.com/$_pkgname/lib$_pkgname)
md5sums=('SKIP'
@@ -42,13 +41,14 @@ package_mypaint-gegl-git() {
depends=('python2-gobject' 'python2-numpy' 'gtk3' 'lcms2' 'libmypaint-gegl-git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
+ install=mypaint.install
cd $srcdir/$_pkgname-$pkgver
scons prefix="$pkgdir"/usr use_sharedlib=yes enable_gegl=yes install
# separate files to libmypaint package
- install -vdm 0755 $srcdir/lib$_pkgname-fakeinstall/usr/{lib,share}
- mv -v $pkgdir/usr/include $srcdir/lib$_pkgname-fakeinstall/usr
+ install -vdm 0755 $srcdir/lib$_pkgname-fakeinstall/usr/{include,lib,share}
+ mv -v $pkgdir/usr/include/lib$_pkgname{,-gegl}/* $srcdir/lib$_pkgname-fakeinstall/usr/include
mv -v $pkgdir/usr/lib/lib$_pkgname*.so $srcdir/lib$_pkgname-fakeinstall/usr/lib
mv -v $pkgdir/usr/lib/pkgconfig $srcdir/lib$_pkgname-fakeinstall/usr/lib
mv -v $pkgdir/usr/share/lib$_pkgname $srcdir/lib$_pkgname-fakeinstall/usr/share
@@ -65,7 +65,7 @@ package_libmypaint-gegl-git() {
pkgdesc="A library for making brushstrokes, with GEGL support"
depends=('python2' 'gcc-libs' 'glib2' 'json-c' 'gegl')
provides=("lib${_pkgname}")
- conflicts=("lib${_pkgname}")
+ conflicts=("lib${_pkgname}" "${_pkgname}<1.2a")
mv -v $srcdir/lib$_pkgname-fakeinstall/* $pkgdir
}