1 # Contributor: Federico Chiacchiaretta <federico.chia at gmail.com>
6 pkgdesc="a KIOSlave implementation wrapping the AFC protocol"
8 url="http://github.com/JonathanBeck/kio_afc"
10 depends=('kdelibs' 'libimobiledevice')
11 makedepends=('git' 'cmake')
13 _gitroot="git://github.com/JonathanBeck/kio_afc.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
38 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../$_gitname
40 make DESTDIR="$pkgdir" install