mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
53 lines
1.3 KiB
Bash
53 lines
1.3 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=partitionmanager
|
|
pkgver=1330962
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
url="https://sourceforge.net/projects/partitionman"
|
|
license=('GPL2')
|
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
|
makedepends=('cmake' 'automoc4' 'pkgconfig' 'svn')
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
'xfsprogs: XFS support'
|
|
'jfsutils: JFS support'
|
|
'reiserfsprogs: Reiser support'
|
|
'ntfsprogs: NTFS support'
|
|
'dosfstools: FAT32 support')
|
|
categories=('system')
|
|
install=partitionmanager.install
|
|
|
|
#_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
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/$_svnmod-build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|