diff options
author | FFY00 | 2018-05-31 18:50:08 +0100 |
---|---|---|
committer | FFY00 | 2018-05-31 18:50:08 +0100 |
commit | 0b2eee8e5ea5e90bcf2b8c07570acc46173cd792 (patch) | |
tree | 8866826447420a42e37cdc62211c13ffd658e27e | |
parent | 2063c6c6053ed389570a24747e27c7a30f0c2fce (diff) | |
download | aur-0b2eee8e5ea5e90bcf2b8c07570acc46173cd792.tar.gz |
pkgbuild: update pkgbuild style
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 68 |
2 files changed, 43 insertions, 31 deletions
@@ -1,6 +1,6 @@ pkgbase = gimp-git pkgdesc = GNU Image Manipulation Program - pkgver = 2.10.0.22.g4cc8481b66 + pkgver = 2.10.2.641.g127ad04bfa pkgrel = 1 epoch = 1 url = http://www.gimp.org @@ -42,8 +42,8 @@ pkgbase = gimp-git options = !libtool source = git://git.gnome.org/gimp source = linux.gpl - md5sums = SKIP - md5sums = bb27bc214261d36484093e857f015f38 + sha256sums = SKIP + sha256sums = 1003bbf5fc292d0d63be44562f46506f7b2ca5729770da9d38d3bb2e8a2f36b3 pkgname = gimp-git @@ -1,34 +1,45 @@ -# Maintainer: Iru Cai <mytbk920423@gmail.com> -# Maintainer: Alexander Hunziker <alex.hunziker@gmail.com> +# Maintainer: Filipe LaĆns (FFY00) <filipe.lains@gmail.com> +# Contributor: Iru Cai <mytbk920423@gmail.com> +# Contributor: Alexander Hunziker <alex.hunziker@gmail.com> # Contributor: Alessio Biancalana <dottorblaster@gmail.com> pkgname=gimp-git epoch=1 -pkgver=2.10.0.22.g4cc8481b66 +pkgver=2.10.2.641.g127ad04bfa pkgrel=1 pkgdesc="GNU Image Manipulation Program" arch=('i686' 'x86_64') url="http://www.gimp.org" license=('GPL' 'LGPL') -depends=('pygtk' 'lcms2>=2.2' 'libwmf>=0.2.8' - 'libgexiv2' 'librsvg>=2.16.1' 'desktop-file-utils' - 'libexif>=0.6.15' 'libart-lgpl>=2.3.19' 'dbus-glib' 'gtk-doc' - 'poppler-glib' 'poppler-data' 'openexr>=1.6.1' 'mypaint-brushes>=1.3.0' - 'babl>=0.1.46' 'gegl-git>0.4.0' 'icu' 'enchant') -makedepends=('git' 'gutenprint>=5.0.0' 'intltool>=0.40.1' \ - 'gnome-python>=2.16.2' \ - 'alsa-lib>=1.0.0' 'libxslt' 'glib-networking') -optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cups print support' - 'alsa-lib: for MIDI event controller module' - 'curl: for URI support' - 'ghostscript: for postscript support') +depends=( + 'pygtk' 'lcms2>=2.2' 'libwmf>=0.2.8' + 'libgexiv2' 'librsvg>=2.16.1' 'desktop-file-utils' + 'libexif>=0.6.15' 'libart-lgpl>=2.3.19' 'dbus-glib' 'gtk-doc' + 'poppler-glib' 'poppler-data' 'openexr>=1.6.1' 'mypaint-brushes>=1.3.0' + 'babl>=0.1.46' 'gegl-git>0.4.0' 'icu' 'enchant' +) +makedepends=( + 'git' 'gutenprint>=5.0.0' 'intltool>=0.40.1' + 'gnome-python>=2.16.2' + 'alsa-lib>=1.0.0' 'libxslt' 'glib-networking' +) +optdepends=( + 'gutenprint: for sophisticated printing only as gimp has built-in cups print support' + 'alsa-lib: for MIDI event controller module' + 'curl: for URI support' + 'ghostscript: for postscript support' +) options=('!libtool') provides=('gimp') conflicts=('gimp') -source=(git://git.gnome.org/gimp - linux.gpl) -md5sums=('SKIP' - 'bb27bc214261d36484093e857f015f38') +source=( + git://git.gnome.org/gimp + linux.gpl +) +sha256sums=( + 'SKIP' + '1003bbf5fc292d0d63be44562f46506f7b2ca5729770da9d38d3bb2e8a2f36b3' +) _gitname=gimp @@ -41,20 +52,21 @@ build() { cd "$srcdir/$_gitname" if [ -f /usr/lib/pkgconfig/libmypaint-1.3.pc ]; then - sed -i 's/libmypaint /libmypaint-1.3 /g' configure.ac + sed -i 's/libmypaint /libmypaint-1.3 /g' configure.ac fi PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc \ - --enable-mp --enable-gimp-console --enable-gimp-remote \ - --enable-python --with-gif-compression=lzw --with-libcurl \ - --without-aa --without-hal --without-gvfs --without-gnomevfs - PYTHONPATH="/usr/share/glib-2.0:${PYTHONPATH}" make + --enable-mp --enable-gimp-console --enable-gimp-remote \ + --enable-python --with-gif-compression=lzw --with-libcurl \ + --without-aa --without-hal --without-gvfs --without-gnomevfs + + PYTHONPATH=/usr/share/glib-2.0:$PYTHONPATH make } package() { - cd "$srcdir/$_gitname" - make DESTDIR="$pkgdir/" install -# sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "${pkgdir}"/usr/lib/gimp/2.0/plug-ins/*.py - install -D -m644 "${srcdir}/linux.gpl" "${pkgdir}/usr/share/gimp/2.0/palettes/Linux.gpl" + cd $srcdir/$_gitname + make DESTDIR=$pkgdir install +# sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/lib/gimp/2.0/plug-ins/*.py + install -D -m644 $srcdir/linux.gpl $pkgdir/usr/share/gimp/2.0/palettes/Linux.gpl } |