mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
37 lines
996 B
Bash
37 lines
996 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=1.2
|
|
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=('kde-runtime')
|
|
makedepends=('cmake' 'automoc4')
|
|
conflicts=('kwebkitpart-svn')
|
|
install=${pkgname}.install
|
|
source=("${pkgname}-${pkgver}.tar.bz2"::"http://quickgit.kde.org/?p=${pkgname}.git&a=snapshot&h=d2aba2aa0664fde17f29d526226576aa6b956ee1&fmt=tbz2")
|
|
md5sums=('ed249c5b36706eb05edcaf660932c92c')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
} |