summaryrefslogtreecommitdiffstats
path: root/gegl-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gegl-git/PKGBUILD')
-rw-r--r--gegl-git/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/gegl-git/PKGBUILD b/gegl-git/PKGBUILD
new file mode 100644
index 0000000..faab426
--- /dev/null
+++ b/gegl-git/PKGBUILD
@@ -0,0 +1,43 @@
+# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
+
+pkgname=gegl-git
+pkgver=20100109
+pkgrel=1
+pkgdesc="GEGL (Generic Graphics Library) is a graph based image processing framework."
+arch=('i686' 'x86_64')
+url="http://www.gegl.org/"
+license=('GPL')
+conflicts=('gegl')
+provides=('gegl')
+depends=('glib2>=2.10' 'babl-git' 'libpng' 'ruby')
+makedepends=('git')
+install=$pkgname.install
+source=($pkgname.install)
+md5sums=('2289b100d1d4ee9ef6b3ad02eddbc899')
+
+_gitroot=('git://git.gnome.org/gegl')
+_gitname=('gegl')
+
+ build() {
+ cd $startdir/src
+ msg "Connecting to gnome.org git server...."
+ rm -rf $startdir/src/$_gitname-build
+
+ if [[ -d $_gitname ]]; then
+ cd $_gitname || return 1
+ git pull origin || return 1
+ else
+ git clone $_gitroot $_gitname || return 1
+ fi
+ msg " checkout done."
+
+ msg "Starting make..."
+ cd "$srcdir"
+ rm -r "$srcdir/$_gitname-build"
+ cp -r $srcdir/$_gitname $_gitname-build
+ cd $_gitname-build
+
+ ./autogen.sh --prefix=/usr --disable-docs
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}