2013-10-27 19:12:34 +08:00
|
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
2010-12-11 12:01:45 +08:00
|
|
|
|
|
|
|
pkgname=partitionmanager
|
2013-10-27 19:12:34 +08:00
|
|
|
pkgver=1358163
|
|
|
|
pkgrel=2
|
2013-01-14 12:07:54 +08:00
|
|
|
arch=('x86_64')
|
2010-12-11 12:01:45 +08:00
|
|
|
url="https://sourceforge.net/projects/partitionman"
|
2013-10-27 19:12:34 +08:00
|
|
|
pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems"
|
2010-12-11 12:01:45 +08:00
|
|
|
license=('GPL2')
|
|
|
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
2011-09-22 04:33:05 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'pkgconfig' 'svn')
|
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')
|
2012-03-06 17:59:48 +08:00
|
|
|
categories=('system')
|
2010-12-11 09:49:13 +08:00
|
|
|
install=partitionmanager.install
|
2010-12-11 12:01:45 +08:00
|
|
|
|
2011-09-22 04:33:05 +08:00
|
|
|
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
|
|
|
|
_svnmod=partitionmanager-svn
|
2010-12-11 12:01:45 +08:00
|
|
|
|
|
|
|
build() {
|
2011-09-22 04:33:05 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
|
|
|
|
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager -r $pkgver $_svnmod
|
|
|
|
|
|
|
|
msg "SVN checkout done or server timeout"
|
|
|
|
msg "Starting make..."
|
|
|
|
|
|
|
|
cp -r $_svnmod $_svnmod-build
|
|
|
|
cd $_svnmod-build
|
|
|
|
|
|
|
|
#patch -p1 < ${srcdir}/tribe.patch
|
|
|
|
#patch -p1 < ${srcdir}/disable-gpt.patch
|
|
|
|
|
2013-10-27 19:12:34 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_UDISKS2=on
|
2010-12-11 12:01:45 +08:00
|
|
|
|
2011-09-22 04:14:15 +08:00
|
|
|
make
|
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() {
|
2011-09-22 04:33:05 +08:00
|
|
|
cd "${srcdir}/$_svnmod-build"
|
2011-09-22 04:14:15 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-12-11 12:01:45 +08:00
|
|
|
}
|
|
|
|
|
2013-10-27 19:12:34 +08:00
|
|
|
|