summaryrefslogtreecommitdiff
path: root/pcr/gimp-plugin-resynthesizer-git/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
commitfcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch)
tree60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/gimp-plugin-resynthesizer-git/PKGBUILD
parent19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff)
parentb0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff)
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/gimp-plugin-resynthesizer-git/PKGBUILD')
-rw-r--r--pcr/gimp-plugin-resynthesizer-git/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
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 <ovruni@gnu.org.pe>
+
+_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
+}