2 # Maintainer: Sebastian Wiedenroth < wiedi frubar net >
3 # Contributor: Alireza Savand < alireza.savand with love gmail :| >
8 pkgdesc
="libmaia is a easy-to-use XML-RCP library for Qt4!"
10 url
="https://github.com/wiedi/libmaia"
17 _gitroot
="git://github.com/wiedi/libmaia.git"
22 msg
"fun begins with git server... ;)"
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg
"the local files are updated."
28 msg
"so let's have some fun with cloning the git repo!"
29 git clone
$_gitroot $_gitname
30 msg
"wasn't fun? cloning done!"
33 msg
"so git checkout done or maybe server timeout :|"
34 msg
"anyway, hold tight."
35 msg
"starting to make, hmmm such a lovely time :|"
37 rm -rf "$srcdir/$_gitname-build"
38 git clone
"$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
41 msg
"actually compiling just started :D"
47 cd "$srcdir/$_gitname-build"
48 install -Dm644 LICENSE
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
49 install -Dm775 libmaia.a
"${pkgdir}/usr/lib/libmaia.a"