summaryrefslogtreecommitdiffstats
path: root/gegl-git
diff options
context:
space:
mode:
Diffstat (limited to 'gegl-git')
-rw-r--r--gegl-git/.DS_Storebin0 -> 6148 bytes
-rw-r--r--gegl-git/._.DS_Storebin0 -> 82 bytes
-rw-r--r--gegl-git/._PKGBUILDbin0 -> 167 bytes
-rw-r--r--gegl-git/._gegl-git.installbin0 -> 197 bytes
-rw-r--r--gegl-git/PKGBUILD43
-rw-r--r--gegl-git/gegl-git.install15
6 files changed, 58 insertions, 0 deletions
diff --git a/gegl-git/.DS_Store b/gegl-git/.DS_Store
new file mode 100644
index 0000000..b3d7e1b
--- /dev/null
+++ b/gegl-git/.DS_Store
Binary files differ
diff --git a/gegl-git/._.DS_Store b/gegl-git/._.DS_Store
new file mode 100644
index 0000000..460d887
--- /dev/null
+++ b/gegl-git/._.DS_Store
Binary files differ
diff --git a/gegl-git/._PKGBUILD b/gegl-git/._PKGBUILD
new file mode 100644
index 0000000..361f6aa
--- /dev/null
+++ b/gegl-git/._PKGBUILD
Binary files differ
diff --git a/gegl-git/._gegl-git.install b/gegl-git/._gegl-git.install
new file mode 100644
index 0000000..120e8c8
--- /dev/null
+++ b/gegl-git/._gegl-git.install
Binary files differ
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
+}
diff --git a/gegl-git/gegl-git.install b/gegl-git/gegl-git.install
new file mode 100644
index 0000000..4d6aee5
--- /dev/null
+++ b/gegl-git/gegl-git.install
@@ -0,0 +1,15 @@
+post_install() {
+
+ echo ">>> If you want more functionality install the following packages:"
+ echo ">>> sdl - libjpeg - openexr - pango - librsvg - graphviz"
+ echo ">>> And build the package again."
+
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+$op $*