mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 02:34:38 +08:00
move tribe-partitionmanager into partitionmanager itself, via patch - easier to follow upstream, less duplication;
This commit is contained in:
parent
ff4f7f3577
commit
2181fb1741
@ -1,55 +0,0 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=tribe-partitionmanager
|
||||
pkgver=0.3.45.2
|
||||
pkgrel=1
|
||||
pkgdesc="Tribe's partitionmanager"
|
||||
url="http://git.chakra-project.org/chakra/"
|
||||
license="GPL"
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('kdebase-workspace' 'parted>=2.3' 'e2fsprogs' 'libatasmart')
|
||||
replaces=('kdemod-tribe-partitionmanager')
|
||||
makedepends=('cmake' 'automoc4' 'pkgconfig')
|
||||
conflicts=('kdemod-tribe-partitionmanager' 'chakra-libpartitionmanager')
|
||||
groups=('kde-uninstall')
|
||||
source=("http://chakra-project.org/sources/tribe/tribe-$pkgver.tar.gz")
|
||||
md5sums=('8fb3bb1a6f769cfd400ba48833361d22')
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
cd "${srcdir}/chakra-tribe/lib/"
|
||||
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' || return 1
|
||||
|
||||
msg "Starting make..."
|
||||
make || return 1
|
||||
|
||||
msg "Make successful, installing..."
|
||||
make DESTDIR=$startdir/pkg install || return 1
|
||||
|
||||
# remove nasty files
|
||||
find $startdir/pkg/ -name ".git" -type d -exec rm -fr {} +
|
||||
# fix file conflicts
|
||||
rm -v $startdir/pkg/usr/share/icons/hicolor/128x128/apps/partitionmanager.png
|
||||
rm -v $startdir/pkg/usr/share/icons/hicolor/16x16/apps/partitionmanager.png
|
||||
rm -v $startdir/pkg/usr/share/icons/hicolor/22x22/apps/partitionmanager.png
|
||||
rm -v $startdir/pkg/usr/share/icons/hicolor/32x32/apps/partitionmanager.png
|
||||
rm -v $startdir/pkg/usr/share/icons/hicolor/48x48/apps/partitionmanager.png
|
||||
rm -v $startdir/pkg/usr/share/icons/hicolor/64x64/apps/partitionmanager.png
|
||||
}
|
@ -18,7 +18,7 @@ pkgdesc="Tribe - Chakra LiveCD Installer"
|
||||
url="http://git.chakra-project.org/chakra/"
|
||||
license="GPL"
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('kdelibs' 'kdeedu-marble>=4.5.80' 'squashfs-tools' "tribe-partitionmanager>=$pkgver")
|
||||
depends=('kdelibs' 'kdeedu-marble>=4.5.80' 'squashfs-tools' "partitionmanager")
|
||||
makedepends=('cmake' 'kdelibs' 'kdeedu-marble>=4.5.80' 'kdebase-workspace')
|
||||
provides=('tribe')
|
||||
replaces=('kdemod-tribe-svn' 'kdemod-tribe')
|
||||
|
Loading…
Reference in New Issue
Block a user