# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf # original name _origname=shaman2 pkgname=${_origname}-svn pkgver=1129707 pkgrel=1 pkgdesc="Pacman frontend based on kdelibs and libaqpm - SVN build" url="http://chakra-project.org/tools-shaman.html" license="GPL" arch=('i686' 'x86_64') depends=("aqpm2-git>=2010305" "kdelibs>=4.4.1" 'dbus') makedepends=('subversion' 'cmake') provides=('shaman2') conflicts=('shaman' 'kdemod-shaman' 'kdemod-playground-shaman-git' 'kdemod-playground-shaman2-svn') groups=('kde-uninstall') source=() md5sums=() _svnmod="shaman" _svntrunk="svn://anonsvn.kde.org/home/kde/trunk/playground/sysadmin/shaman" build() { cd $startdir/src msg "Connecting to the SVN server...." svn co $_svntrunk $_svnmod -r $pkgver [ -d ./$_svnmod-build ] && rm -Rf ./$_svnmod-build cp -r ./$_svnmod ./$_svnmod-build cd ./$_svnmod-build msg "SVN checkout done or server timeout" msg "Starting cmake..." cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSHAMAN_BACKEND=AQPM || return 1 msg "Starting make..." make || return 1 msg "Make successful, installing..." make DESTDIR=${pkgdir} install || return 1 }