From df0acbb17a1a4d063af25dfbed593b3123b2f12c Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 16 May 2015 00:10:59 -0500 Subject: gimp-plugin-resynthesizer-git: add new package to [pcr] --- pcr/gimp-plugin-resynthesizer-git/PKGBUILD | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pcr/gimp-plugin-resynthesizer-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/gimp-plugin-resynthesizer-git/PKGBUILD b/pcr/gimp-plugin-resynthesizer-git/PKGBUILD new file mode 100644 index 000000000..0de110ebc --- /dev/null +++ b/pcr/gimp-plugin-resynthesizer-git/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor (Arch): Lex Black (autumn-wind at web.de) +# Contributor (Arch): andre.vmatos +# Maintainer : Omar Vega Ramos + +_pkgname=resynthesizer +pkgname=gimp-plugin-$_pkgname-git +pkgver=2.0.r13.g251eedc +pkgrel=2 +pkgdesc="Suite of gimp plugins for texture synthesis (like heal-selection). Git-Version" +arch=('i686' 'x86_64') +url="https://github.com/bootchk/resynthesizer" +license=('GPL2') +depends=('gimp') +makedepends=('git' 'intltool') +conflicts=('gimp-resynth' 'gimp-resynth-git') +options=('!emptydirs') +source=('git://github.com/bootchk/resynthesizer#branch=master') +md5sums=('SKIP') + + +pkgver() { + cd $_pkgname + git describe | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' +} + +prepare() { + cd $_pkgname + sed -i 's|/usr/bin/env python|/usr/bin/env python2|' PluginScripts/*.py + sed -i 's/--enable-maintainer-mode//g' autogen.sh +} + +build() { + cd $_pkgname + + ./autogen.sh --disable-maintainer-mode --prefix=/usr + make +} + +package() { + cd $_pkgname + + make DESTDIR="$pkgdir/" install +} -- cgit v1.2.3