mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
#
|
|
# 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=1.0.2
|
|
pkgrel=1
|
|
pkgdesc="A KDE 4 utility that allows you to manage disks, partitions, and file systems."
|
|
arch=('i686' 'x86_64')
|
|
url="https://sourceforge.net/projects/partitionman/"
|
|
license=('GPL2')
|
|
depends=('kdebase-runtime' 'parted')
|
|
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')
|
|
install=partitionmanager.install
|
|
source=(http://downloads.sourceforge.net/partitionman/$pkgname-$pkgver.tar.bz2)
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
mkdir build
|
|
cd build
|
|
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
}
|
|
md5sums=('903a5d5abd345d9c3b5e911b4c6abe48')
|