[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Dec 19 20:36:08 UTC 2014
Date: Friday, December 19, 2014 @ 21:36:07
Author: arojas
Revision: 124125
Add partitionmanager (29 votes)
Added:
partitionmanager/
partitionmanager/trunk/
partitionmanager/trunk/PKGBUILD
partitionmanager/trunk/partitionmanager.install
--------------------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
partitionmanager.install | 11 +++++++++++
2 files changed, 52 insertions(+)
Added: partitionmanager/trunk/PKGBUILD
===================================================================
--- partitionmanager/trunk/PKGBUILD (rev 0)
+++ partitionmanager/trunk/PKGBUILD 2014-12-19 20:36:07 UTC (rev 124125)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
+
+pkgname=partitionmanager
+pkgver=1.1.0
+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=('kdebase-runtime' 'parted')
+makedepends=('cmake' 'automoc4')
+optdepends=('e2fsprogs: ext2/3/4 support'
+ 'xfsprogs: XFS support'
+ 'jfsutils: JFS support'
+ 'reiserfsprogs: Reiser support'
+ 'ntfsprogs: NTFS support'
+ 'dosfstools: FAT32 support')
+install=$pkgname.install
+source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
+md5sums=('4a752c250fc5c98e22aba1d2ea309bec')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_UDISKS2=ON \
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Added: partitionmanager/trunk/partitionmanager.install
===================================================================
--- partitionmanager/trunk/partitionmanager.install (rev 0)
+++ partitionmanager/trunk/partitionmanager.install 2014-12-19 20:36:07 UTC (rev 124125)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list