tribe 0.3.0 try2

This commit is contained in:
philm 2010-12-20 07:09:38 +00:00
parent 6aa493fcb4
commit 16a4765678

View File

@ -22,7 +22,7 @@ conflicts=('chakra-tribe' 'tribe-svn' 'kdemod-partitionmanager' 'kdemod-tribe' '
options=('!splithdr' '!splitdbg') options=('!splithdr' '!splitdbg')
source=("http://chakra-project.org/sources/tribe/tribe-${pkgver}.tar.gz" source=("http://chakra-project.org/sources/tribe/tribe-${pkgver}.tar.gz"
'tribe_4.5.patch') 'tribe_4.5.patch')
md5sums=('496127fc3d2d88e67fb9bd8ce191fdbe' md5sums=('c0657c9224ca693ec76ee5dfe73e1e46'
'168a949a78621df376e3a4b2c26ecac5') '168a949a78621df376e3a4b2c26ecac5')
groups=('kde-uninstall') groups=('kde-uninstall')
@ -38,9 +38,6 @@ build()
# 4.5 backports # 4.5 backports
patch -Np0 -i ${srcdir}/tribe_4.5.patch || return 1 patch -Np0 -i ${srcdir}/tribe_4.5.patch || return 1
# cheats
sed -i -e "s~m_currentAction = MainWindow::Partition;~m_currentAction = MainWindow::Configuration;~g" src/mainwindow.cpp
# add pkgver to tribe # add pkgver to tribe
sed -i -e "s~source build/from git~Build: ${pkgver}-${pkgrel} (Chakra)~g" config-tribe.h.cmake sed -i -e "s~source build/from git~Build: ${pkgver}-${pkgrel} (Chakra)~g" config-tribe.h.cmake
sed -i -e "s~git-checkout~${pkgver}~g" "${srcdir}/chakra-$pkgname/scripts/postinstall-functions/job-initialize-target" sed -i -e "s~git-checkout~${pkgver}~g" "${srcdir}/chakra-$pkgname/scripts/postinstall-functions/job-initialize-target"