fix pkgbuilds

This commit is contained in:
philm 2010-11-29 00:22:52 +01:00
parent 22d37281f2
commit afdf549c84
3 changed files with 17 additions and 21 deletions

View File

@ -41,11 +41,9 @@ options=('!splithdr' 'splitdbg')
makedepends=('pkgconfig' 'cmake' 'automoc4' "kdepimlibs>=${_kdever}" "kdebase-runtime>=${_kdever}"
"kdebindings-python>=${_kdever}" 'system-config-printer-common' "kdepim-runtime>=${_kdever}")
source=($_mirror/${_origname}-$_kdever.tar.bz2
fix-syslog-path.patch)
source=($_mirror/${_origname}-$_kdever.tar.bz2)
md5sums=(`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
'41b71823c7a33975ec08aaf75d67a374') # fix-syslog-path.patch
md5sums=(`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
@ -56,8 +54,6 @@ md5sums=(`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
build()
{
cd ${srcdir}/${_origname}-${pkgver}
patch -Np1 -i ${srcdir}/fix-syslog-path.patch || return 1
msg "starting build ..."
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
@ -88,18 +84,18 @@ package_kdeadmin-common()
make DESTDIR=${pkgdir} install || return 1
done
# include our patches into the package
ls -1 ${startdir}/*.patch &>/dev/null 2>&1
if [ "$?" = "0" ]; then
warning "incuding patches into package"
mkdir -p ${pkgdir}/usr/share/chakra/patches/${_origname} &>/dev/null
for i in ${startdir}/*.patch; do
msg "$i"
cp $i ${pkgdir}/usr/share/chakra/patches/${_origname}/ &>/dev/null
done
else
warning "no patches found, skipping to include them into the package..."
fi
# # include our patches into the package
# ls -1 ${startdir}/*.patch &>/dev/null 2>&1
# if [ "$?" = "0" ]; then
# warning "incuding patches into package"
# mkdir -p ${pkgdir}/usr/share/chakra/patches/${_origname} &>/dev/null
# for i in ${startdir}/*.patch; do
# msg "$i"
# cp $i ${pkgdir}/usr/share/chakra/patches/${_origname}/ &>/dev/null
# done
# else
# warning "no patches found, skipping to include them into the package..."
# fi
}
package_kdeadmin-doc()

View File

@ -12,7 +12,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# original name (used for the source and pkgnames)
_origname=kdeedu
# FIXME: check if python-bindings build again
#
# package info
@ -75,7 +75,7 @@ build()
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=OFF \
-DEXPERIMENTAL_PYTHON_BINDINGS=TRUE
-DEXPERIMENTAL_PYTHON_BINDINGS=FALSE
make || return 1
}

View File

@ -47,7 +47,7 @@ pkgname=('kdegames-common'
'kdegames-konquest'
'kdegames-kpat'
'kdegames-kreversi'
'kdegames-ksame'
# 'kdegames-ksame'
'kdegames-kshisen'
'kdegames-ksirk'
'kdegames-kspaceduel'