updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / gimp-resynth / PKGBUILD
bloba10a490ef1c1c5a91f1b289afefdacf54a47c9f9
1 # Contributor: Marcus Werner <myself@prakti.org>
2 # Maintainer: Henning Bekel <h dot bekel at googlemail dot com>
4 pkgname=gimp-resynth
5 pkgver=20110505
6 pkgrel=1
7 epoch=1
8 pkgdesc="Resynthesizer plugin for The Gimp"
9 arch=('i686' 'x86_64')
10 url="https://github.com/bootchk/resynthesizer"
11 license=('GPL2')
12 depends=('gimp')
13 makedepends=('git' 'intltool')
15 _gitroot="https://github.com/bootchk/resynthesizer.git"
16 _gitname="resynthesizer"
18 build() {
19   cd "$srcdir"
20   msg "Connecting to GIT server...."
22   if [ -d $_gitname ] ; then
23     cd $_gitname && git pull origin
24     msg "The local files are updated."
25   else
26     git clone $_gitroot $_gitname
27   fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting make..."
32   rm -rf "$srcdir/$_gitname-build"
33   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34   cd "$srcdir/$_gitname-build"
36   #
37   # BUILD HERE
38   #
40   ./autogen.sh
41   ./configure --prefix=/usr
42   make
45 package() {
46   cd "$srcdir/$_gitname-build"
47   make DESTDIR="$pkgdir/" install
48