2013-10-27 19:14:18 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
2011-09-22 04:14:15 +08:00
|
|
|
|
|
|
|
pkgname=tribe-partitionmanager
|
2013-10-27 19:14:18 +08:00
|
|
|
pkgver=1358163
|
2014-01-03 03:47:12 +08:00
|
|
|
pkgrel=8
|
2013-10-27 19:14:18 +08:00
|
|
|
pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems - Patched for Chakra Live ISO"
|
2012-11-30 08:31:05 +08:00
|
|
|
arch=('x86_64')
|
2011-09-22 04:14:15 +08:00
|
|
|
url="https://sourceforge.net/projects/partitionman"
|
|
|
|
license=('GPL2')
|
2011-09-23 06:16:40 +08:00
|
|
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
2012-11-30 08:31:05 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'pkg-config' 'svn' 'ntfs-3g')
|
2011-09-22 04:14:15 +08:00
|
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
|
|
'xfsprogs: XFS support'
|
|
|
|
'jfsutils: JFS support'
|
|
|
|
'reiserfsprogs: Reiser support'
|
2012-11-30 08:31:05 +08:00
|
|
|
'ntfs-3g: NTFS support'
|
2011-09-22 04:14:15 +08:00
|
|
|
'dosfstools: FAT32 support')
|
2011-09-23 06:16:40 +08:00
|
|
|
conflict=('partitionmanager')
|
2014-01-02 06:01:56 +08:00
|
|
|
install=partitionmanager.install
|
|
|
|
options=(debug)
|
2013-01-17 02:28:35 +08:00
|
|
|
source=(tribe.patch) # disable-gpt.patch)
|
2014-01-03 03:47:12 +08:00
|
|
|
md5sums=('80be08d987fb3edbb769c4b8eba5f59b')
|
2011-09-22 04:14:15 +08:00
|
|
|
|
|
|
|
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
|
|
|
|
_svnmod=partitionmanager-svn
|
|
|
|
|
|
|
|
build() {
|
|
|
|
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:14:18 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_UDISKS2=on
|
2011-09-22 04:14:15 +08:00
|
|
|
|
2011-09-23 06:16:40 +08:00
|
|
|
make
|
2011-09-22 04:14:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/$_svnmod-build"
|
2011-09-22 05:44:36 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-09-22 04:14:15 +08:00
|
|
|
}
|
2013-10-27 19:14:18 +08:00
|
|
|
|