mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 05:44:35 +08:00
change kwebkitpart for kwebkitpart-svn
This commit is contained in:
parent
1f9aff2960
commit
9e4e8f78ea
@ -1,47 +0,0 @@
|
||||
#
|
||||
# KDE SC 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=kwebkitpart-svn
|
||||
pkgver=1154522
|
||||
pkgrel=1
|
||||
pkgdesc="Webkit part"
|
||||
url="http://techbase.kde.org/Projects/WebKit"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
depends=('kdebase-runtime')
|
||||
makedepends=('cmake' 'automoc4' 'subversion')
|
||||
conflicts=('webkitkde-svn')
|
||||
replaces=('webkitkde-svn')
|
||||
source=()
|
||||
md5sums=()
|
||||
install='kwebkitpart-svn.install'
|
||||
|
||||
_svntrunk="svn://anonsvn.kde.org/home/kde/trunk/extragear/base/kwebkitpart"
|
||||
_svnmod=kwebkitpart
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
||||
if [ -d $_svnmod/.svn ]; then
|
||||
(cd $_svnmod && svn up -r $pkgver)
|
||||
else
|
||||
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
|
||||
fi
|
||||
|
||||
msg "SVN checkout done or server timeout"
|
||||
msg "Starting make..."
|
||||
|
||||
cp -r $_svnmod $_svnmod-build
|
||||
cd $_svnmod-build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
38
support-pkg-kwebkitpart/PKGBUILD
Normal file
38
support-pkg-kwebkitpart/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# KDE SC 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=kwebkitpart
|
||||
pkgver=0.9.6
|
||||
pkgrel=1
|
||||
pkgdesc="A web browser component for KDE"
|
||||
url="http://opendesktop.org/content/show.php?content=127960"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
depends=('kdebase-runtime')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
conflicts=('kwebkitpart-svn')
|
||||
install=${pkgname}.install
|
||||
source=("http://opendesktop.org/CONTENT/content-files/127960-${pkgname}-${pkgver}.tar.bz2")
|
||||
md5sums=('017b56eae5462617bf5fded092280e1f')
|
||||
options=('force')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
Loading…
Reference in New Issue
Block a user