mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 16:37:16 +08:00
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
# original name
|
|
_origname=shaman2
|
|
|
|
pkgname=${_origname}-svn
|
|
pkgver=1163590
|
|
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=("akabeicore>=20100824" "akabeiclient>=20100824" "kdelibs>=4.5.0" '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=AKABEI || return 1
|
|
|
|
msg "Starting make..."
|
|
|
|
make || return 1
|
|
|
|
msg "Make successful, installing..."
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
} |