desktop/partitionmanager/PKGBUILD

43 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.3
pkgrel=2
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/partitionman"
license=('GPL2')
depends=('kdebase-runtime' 'parted' 'libatasmart')
makedepends=('cmake' 'automoc4' 'pkgconfig')
conflicts=("tribe-partitionmanager")
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://sourceforge.net/projects/partitionman/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('1f987d314c717ba2579c69eeef16336d')
build() {
cd "${srcdir}/${pkgname}-1.0.3"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
}
package() {
cd "${srcdir}/${pkgname}-1.0.3"
make DESTDIR="${pkgdir}" install
}