updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / gimp-resynth-git / PKGBUILD
blobd46b381e8506a4988b0e8fd664cf61dd420d59e4
1 # Maintainer: Kwpolska <kwpolska@kwpolska.co.cc>
2 # Used code from the gtk-engine-murrine-git package.
4 pkgname=gimp-resynth-git
5 pkgver=20110426
6 pkgrel=1
7 pkgdesc="Resynthesizer plugin for GIMP (git version)"
8 arch=('i686' 'x86_64')
9 license=("GPL3")
10 url="http://www.logarithmic.net/pfh/resynthesizer"
11 depends=('git' 'gimp')
12 conflicts=('gimp-resynth')
13 _gitroot='git://github.com/bootchk'
14 _gitname='resynthesizer'
15 build() {
16     cd $srcdir
17     msg "Connecting to the GIT server...."
19     if [[ -d $srcdir/$_gitname ]] ; then
20         cd $_gitname
21         git pull origin
22         msg "The local files are updated."
23     else
24         git clone $_gitroot/$_gitname.git
25     fi
27     msg "GIT checkout done"
28     msg "Starting make..."
30     cd $srcdir/$_gitname
31     ./configure --prefix=/usr
32     make
33     make DESTDIR=$pkgdir install