1 # Maintainer: mlq <mlq@pwmt.org>
3 pkgname=girara-gtk3-git
6 pkgdesc="user interface library"
8 url="http://pwmt.org/projects/libgirara"
10 depends=('gtk3>=3.0.3')
13 conflicts=('girara-gtk3')
14 provides=('girara-gtk3')
16 _gitroot='git://pwmt.org/girara.git'
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 make GIRARA_GTK_VERSION=3
39 make GIRARA_GTK_VERSION=3 DESTDIR="$pkgdir/" install
40 install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"