1 # Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
3 pkgname='xivo-client-qt-gallifrey-git'
6 pkgdesc="XiVO client QT (Gallifrey version)"
8 url='http://wiki.xivo.fr'
11 makedepends=('git' 'upx')
12 provides=('xivo-client')
13 conflicts=('xivo-client-qt-git')
15 md5sums=('ad53290a0740b49d04e6527329435b5a')
16 _gitroot="git://git.proformatique.com/official/xivo-client-qt.git"
17 _gitname="1.1-gallifrey"
20 msg "Connecting to the GIT server...."
21 if [[ -d ${srcdir}/xivo-client-qt ]] ; then
22 cd ${srcdir}/xivo-client-qt
24 msg "The local files are updated..."
26 git clone -b ${_gitname} ${_gitroot} --depth 1
28 msg "GIT checkout done."
30 cd ${srcdir}/xivo-client-qt/
35 mkdir -p ${pkgdir}/opt/xivo-client/{plugins,lib}
36 mkdir -p ${pkgdir}/usr/bin
37 install -D -m 755 -o root -g root ${srcdir}/xivo-client-qt/bin/xivoclient ${pkgdir}/opt/xivo-client/
38 install -D -m 755 -o root -g root ${srcdir}/xivo-client-qt/bin/libxivoclientbaselib.so.1.1.0 ${pkgdir}/opt/xivo-client/lib/
39 install -D -m 755 -o root -g root ${srcdir}/xivo-client-qt/bin/plugins/* ${pkgdir}/opt/xivo-client/plugins/
40 cd ${pkgdir}/opt/xivo-client/lib/
41 ln -s libxivoclientbaselib.so.1.1.0 libxivoclientbaselib.so.1.1
42 ln -s libxivoclientbaselib.so.1.1.0 libxivoclientbaselib.so.1
43 ln -s libxivoclientbaselib.so.1.1.0 libxivoclientbaselib.so
44 install -D -m 755 -o root -g root ${srcdir}/xivo-client ${pkgdir}/usr/bin/