desktop/tribe-partitionmanager-git/PKGBUILD
Fabian Kosmale 791f7dbcd1 kf 5.0.0
2014-07-04 21:43:30 +00:00

43 lines
999 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=tribe-partitionmanager-git
_gitname=partitionmanager
pkgver=r783.40f4b07
pkgrel=1
pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems"
arch=('i686' 'x86_64')
url='http://kde.org/applications/system/kdepartitionmanager/'
license=('GPL2')
depends=('kdelibs4support' 'kemoticons' 'parted')
makedepends=('cmake' 'git')
conflicts=('tribe-partitionmanager')
provides=('tribe-partitionmanager')
source=('git://anongit.kde.org/partitionmanager' 'tribe.patch')
md5sums=('SKIP' 'SKIP')
pkgver() {
cd $_gitname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir build
cd ${_gitname}
git checkout frameworks
patch -p1 < ${srcdir}/tribe.patch
}
build() {
cd build
cmake ../${_gitname} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_UDISKS2=ON
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}