mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
split partitionmanager & tribe-partitionmanger again
This commit is contained in:
parent
22c939ab0b
commit
7a81d88708
@ -8,13 +8,13 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=partitionmanager
|
pkgname=partitionmanager
|
||||||
pkgver=1216949
|
pkgver=1.0.3
|
||||||
pkgrel=6
|
pkgrel=2
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://sourceforge.net/projects/partitionman"
|
url="https://sourceforge.net/projects/partitionman"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
||||||
makedepends=('cmake' 'automoc4' 'pkgconfig' 'svn')
|
makedepends=('cmake' 'automoc4' 'pkgconfig')
|
||||||
conflicts=("tribe-partitionmanager")
|
conflicts=("tribe-partitionmanager")
|
||||||
optdepends=('e2fsprogs: ext2/3/4 support'
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
||||||
'xfsprogs: XFS support'
|
'xfsprogs: XFS support'
|
||||||
@ -23,33 +23,20 @@ optdepends=('e2fsprogs: ext2/3/4 support'
|
|||||||
'ntfsprogs: NTFS support'
|
'ntfsprogs: NTFS support'
|
||||||
'dosfstools: FAT32 support')
|
'dosfstools: FAT32 support')
|
||||||
install=partitionmanager.install
|
install=partitionmanager.install
|
||||||
source=(tribe.patch) # disable-gpt.patch)
|
source=("http://sourceforge.net/projects/partitionman/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
|
||||||
md5sums=('315e17fcc5c6e8e64902f0d3385f3c9f') # '30c6cdf25c23c6fc33c21b3b48b28ed0')
|
md5sums=('1f987d314c717ba2579c69eeef16336d')
|
||||||
|
|
||||||
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
|
|
||||||
_svnmod=partitionmanager-svn
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}/${pkgname}-1.0.3"
|
||||||
|
|
||||||
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
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
|
||||||
make || return 1
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/$_svnmod-build"
|
cd "${srcdir}/${pkgname}-1.0.3"
|
||||||
make DESTDIR="${pkgdir}" install || return 1
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
55
tribe-partitionmanager/PKGBUILD
Normal file
55
tribe-partitionmanager/PKGBUILD
Normal 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
|
||||||
|
}
|
||||||
|
|
11
tribe-partitionmanager/partitionmanager.install
Normal file
11
tribe-partitionmanager/partitionmanager.install
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
post_install() {
|
||||||
|
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user