summaryrefslogtreecommitdiffstats
path: root/gegl-git/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 12:10:25 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 12:10:25 +0100
commitca2d44a6820a66e074d753b32fdc7c3d86e58a3d (patch)
tree52965f85df44d83395189f88eab9e663154c5a8f /gegl-git/PKGBUILD
parentdbd1c0d9ff79e45fe66955f48d87eb32c21965a2 (diff)
downloadaur-packages-ca2d44a6820a66e074d753b32fdc7c3d86e58a3d.tar.gz
aur-packages-ca2d44a6820a66e074d753b32fdc7c3d86e58a3d.tar.xz
some more updates/adds
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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
+}