updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / log2log-git / PKGBUILD
blob5dd3d74c043530755a00573ecdefe0e6594ec7d3
1 # Maintainer: Igor Duarte Cardoso <igordcard@gmail.com>
2 pkgname=log2log-git
3 pkgver=20111030
4 pkgrel=1
5 pkgdesc="Can't download Meebo chat logs? Shot that Adium duck? Pidgin poop? Log2Log: The all-in-one solution to chat log conversion!"
6 arch=('i686' 'x86_64')
7 url="https://sourceforge.net/projects/log2log/"
8 license=('GPL3')
9 depends=('qt>=4.4.0')
10 makedepends=('git')
11 provides=(log2log)
12 conflicts=(log2log)
14 _gitroot="git://log2log.git.sourceforge.net/gitroot/log2log/log2log"
15 _gitname="log2log"
17 build() {
18   cd "$srcdir"
19   msg "Connecting to git..."
21   if [ -d "$srcdir/$_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 "Done, but please check if there were any errors."
29   msg "Compiling..."
31   cd "$srcdir/$_gitname"
33   qmake
34   make
37 package() {
38   cd "$srcdir/$_gitname"
39   make INSTALL_ROOT="$pkgdir" install