split partitionmanager & tribe-partitionmanger again

This commit is contained in:
abveritas 2011-09-21 20:14:15 +00:00
parent 22c939ab0b
commit 7a81d88708
5 changed files with 76 additions and 23 deletions

View File

@ -8,13 +8,13 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=partitionmanager
pkgver=1216949
pkgrel=6
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' 'svn')
makedepends=('cmake' 'automoc4' 'pkgconfig')
conflicts=("tribe-partitionmanager")
optdepends=('e2fsprogs: ext2/3/4 support'
'xfsprogs: XFS support'
@ -23,33 +23,20 @@ optdepends=('e2fsprogs: ext2/3/4 support'
'ntfsprogs: NTFS support'
'dosfstools: FAT32 support')
install=partitionmanager.install
source=(tribe.patch) # disable-gpt.patch)
md5sums=('315e17fcc5c6e8e64902f0d3385f3c9f') # '30c6cdf25c23c6fc33c21b3b48b28ed0')
source=("http://sourceforge.net/projects/partitionman/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('1f987d314c717ba2579c69eeef16336d')
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
_svnmod=partitionmanager-svn
build() {
cd "${srcdir}"
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager -r $pkgver $_svnmod
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
patch -p1 < ${srcdir}/tribe.patch
#patch -p1 < ${srcdir}/disable-gpt.patch
cd "${srcdir}/${pkgname}-1.0.3"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
make || return 1
make
}
package() {
cd "${srcdir}/$_svnmod-build"
make DESTDIR="${pkgdir}" install || return 1
cd "${srcdir}/${pkgname}-1.0.3"
make DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,55 @@
#
# 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=tribe-partitionmanager
pkgver=1216949
pkgrel=1
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/partitionman"
license=('GPL2')
depends=('kdebase-runtime' 'parted' 'libatasmart')
makedepends=('cmake' 'automoc4' 'pkgconfig' 'svn')
conflicts=("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=(tribe.patch) # disable-gpt.patch)
md5sums=('315e17fcc5c6e8e64902f0d3385f3c9f') # '30c6cdf25c23c6fc33c21b3b48b28ed0')
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
_svnmod=partitionmanager-svn
build() {
cd "${srcdir}"
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager -r $pkgver $_svnmod
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
patch -p1 < ${srcdir}/tribe.patch
#patch -p1 < ${srcdir}/disable-gpt.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
make || return 1
}
package() {
cd "${srcdir}/$_svnmod-build"
make DESTDIR="${pkgdir}" install || return 1
}

View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}