2010-12-11 12:01:45 +08:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
|
|
|
pkgname=partitionmanager
|
|
|
|
pkgver=1196188
|
|
|
|
pkgrel=1
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://sourceforge.net/projects/partitionman"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
|
|
|
makedepends=('cmake' 'automoc4' 'pkgconfig')
|
|
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
|
|
'xfsprogs: XFS support'
|
|
|
|
'jfsutils: JFS support'
|
|
|
|
'reiserfsprogs: Reiser support'
|
|
|
|
'ntfsprogs: NTFS support'
|
|
|
|
'dosfstools: FAT32 support')
|
2010-12-11 13:43:00 +08:00
|
|
|
install=partitionmanager.install
|
2010-12-11 12:01:45 +08:00
|
|
|
source=(tribe.patch)
|
2010-12-11 13:43:00 +08:00
|
|
|
md5sums=('eaa8f712da2aaf3c4ee519b2bf97c6c7')
|
2010-12-11 12:01:45 +08:00
|
|
|
|
|
|
|
_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
|
|
|
|
_svnmod=partitionmanager-svn
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}"
|
|
|
|
|
|
|
|
svn co $_svntrunk $_svnmod
|
|
|
|
|
|
|
|
msg "SVN checkout done or server timeout"
|
|
|
|
msg "Starting make..."
|
|
|
|
|
|
|
|
cp -r $_svnmod $_svnmod-build
|
|
|
|
cd $_svnmod-build
|
|
|
|
|
|
|
|
patch -p1 < ${srcdir}/tribe.patch
|
|
|
|
|
2010-12-11 13:43:00 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
2010-12-11 12:01:45 +08:00
|
|
|
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
|
|
|
|
rm -rf ${srcdir}/$_svnmod-build
|
|
|
|
}
|
|
|
|
|