updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / neposync-git / PKGBUILD
blob836742eac9c6809f5aaaf7bb55a87bf26d9f744c
1 # Contributor: Eric Pignet <eric at erixpage dot com>
3 pkgname=neposync-git
4 pkgver=20110731
5 pkgrel=1
6 pkgdesc="A tool to synchronize files metadata with Nepomuk or Amarok"
7 arch=(i686 x86_64)
8 license=('GPL')
9 url="http://wiki.github.com/ericpignet/neposync"
10 depends=('libkexiv2' 'qt>=4.3' libmysqlclient taglib openssl)
11 makedepends=('git')
12 source=()
13 md5sums=()
15 _gitroot=git://github.com/ericpignet/neposync.git
16 _gitname=neposync
18 build() {
19 if [ -d $startdir/src/$_gitname ]
20 then
21     cd $startdir/src/$_gitname && git pull
22 else
23     cd $startdir/src && git clone $_gitroot && cd $_gitname
26 qmake && make || return 1
27 cd $srcdir/$_gitname
28 install -Dm755 $_gitname $pkgdir/usr/bin/$_gitname || return 1