Commit 512e9d4c authored by Manuel Tortosa's avatar Manuel Tortosa

Add partitionmanager

parent 808daead
# $Id: PKGBUILD 79055 2010-04-30 05:46:33Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
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')
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment