1 # Maintainer: Nicolas Boulanger <nicolas.boulanger_aur at gadz dot org>
3 _commit=3b840779dc76bfd8e9f1
6 pkgdesc="Cross-platform Plasma data and network library"
7 provides=('libhsplasma')
9 url="http://code.google.com/p/libhsplasma/"
11 depends=('zlib' 'libjpeg6' 'openssl' 'python2')
13 _gitroot="git://github.com/H-uru/libhsplasma.git"
14 _gitname="libhsplasma"
19 msg "Connecting to GIT server...."
21 if [ -d "${_gitname}" ] ; then
22 cd "${_gitname}" && git checkout master && git pull origin
23 [[ "${_commit}" ]] && git checkout "${_commit}"
24 msg "The local files are updated."
25 msg "Running make distclean"
28 git clone "${_gitroot}" "${_gitname}"
30 [[ "${_commit}" ]] && git checkout "${_commit}"
33 cd "${srcdir}/${_gitname}"
36 cmake -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_PYTHON=0 .
42 msg "Running make install"
43 cd "${srcdir}/${_gitname}"
44 make DESTDIR=$pkgdir install
46 # vim:set ts=2 sw=2 et: