updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / libsexier / PKGBUILD
blobef1a74bc618c6db073f041ed1b3751db1bef3a41
1 # Maintainer: M Rawash <mrawash@gmail.com>
3 pkgname=libsexier
4 pkgver=20090524
5 pkgrel=1
6 pkgdesc="Experimental cairo gtk widgets"
7 arch=('i686' 'x86_64')
8 url="http://www.qdh.org.uk/wordpress/?s=libsexier"
9 license=('GPL')
10 depends=('librsvg')
11 makedepends=('git')
12 install=
14 _gitroot="git://git.codethink.co.uk/git/libsexier"
15 _gitname="libsexier"
17 build() {
18   cd "$srcdir"
19   msg "Connecting to GIT server...."
21   if [ -d $_gitname ] ; then
22     cd $_gitname && git pull origin
23     msg "The local files are updated."
24   else
25     git clone $_gitroot
26   fi
28   msg "GIT checkout done or server timeout"
29   msg "Starting make..."
31   rm -rf "$srcdir/$_gitname-build"
32   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33   cd "$srcdir/$_gitname-build"
35   ./autogen.sh --prefix=/usr
37   make || return 1
38   make DESTDIR=$pkgdir install || return 1