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
|
2011-03-01 19:56:28 +08:00
|
|
|
pkgver=1216949
|
2011-05-22 22:35:40 +08:00
|
|
|
pkgrel=6
|
2010-12-11 12:01:45 +08:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://sourceforge.net/projects/partitionman"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
2011-03-25 23:03:39 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'pkgconfig' 'svn')
|
2010-12-11 09:49:13 +08:00
|
|
|
conflicts=("tribe-partitionmanager")
|
2010-12-11 12:01:45 +08:00
|
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
|
|
'xfsprogs: XFS support'
|
|
|
|
'jfsutils: JFS support'
|
|
|
|
'reiserfsprogs: Reiser support'
|
|
|
|
'ntfsprogs: NTFS support'
|
|
|
|
'dosfstools: FAT32 support')
|
2010-12-11 09:49:13 +08:00
|
|
|
install=partitionmanager.install
|
2011-03-26 04:46:20 +08:00
|
|
|
source=(tribe.patch) # disable-gpt.patch)
|
2011-05-22 22:35:40 +08:00
|
|
|
md5sums=('315e17fcc5c6e8e64902f0d3385f3c9f') # '30c6cdf25c23c6fc33c21b3b48b28ed0')
|
2010-12-11 12:01:45 +08:00
|
|
|
|
2011-04-03 19:03:01 +08:00
|
|
|
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
|
2010-12-11 12:01:45 +08:00
|
|
|
_svnmod=partitionmanager-svn
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}"
|
|
|
|
|
2010-12-11 09:49:13 +08:00
|
|
|
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager -r $pkgver $_svnmod
|
2010-12-11 12:01:45 +08:00
|
|
|
|
|
|
|
msg "SVN checkout done or server timeout"
|
|
|
|
msg "Starting make..."
|
|
|
|
|
|
|
|
cp -r $_svnmod $_svnmod-build
|
|
|
|
cd $_svnmod-build
|
|
|
|
|
|
|
|
patch -p1 < ${srcdir}/tribe.patch
|
2011-03-26 04:46:20 +08:00
|
|
|
#patch -p1 < ${srcdir}/disable-gpt.patch
|
2010-12-11 12:01:45 +08:00
|
|
|
|
2010-12-31 14:09:24 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
2010-12-11 12:01:45 +08:00
|
|
|
|
|
|
|
make || return 1
|
2010-12-11 09:49:13 +08:00
|
|
|
}
|
2010-12-11 12:01:45 +08:00
|
|
|
|
2010-12-11 09:49:13 +08:00
|
|
|
package() {
|
|
|
|
cd "${srcdir}/$_svnmod-build"
|
|
|
|
make DESTDIR="${pkgdir}" install || return 1
|
2010-12-11 12:01:45 +08:00
|
|
|
}
|
|
|
|
|