mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 11:02:13 +08:00
38 lines
977 B
Bash
38 lines
977 B
Bash
#
|
|
# 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
|
|
} |