mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=rekonq
|
|
pkgver=2.3.1
|
|
pkgrel=1
|
|
pkgdesc='A WebKit based web browser for KDE'
|
|
arch=('x86_64')
|
|
url='http://rekonq.sourceforge.net/'
|
|
license=('GPL')
|
|
depends=('kde-baseapps' 'qoauth' 'qca-ossl')
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
|
categories=('network')
|
|
screenshot=('http://rekonq.kde.org/sites/rekonq.kde.org/files/images/Rekonq-0.6.0.png')
|
|
install=${pkgname}.install
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
|
'background.png'
|
|
'background.diff'
|
|
'searchengine.diff')
|
|
md5sums=('aa281cfd38cb4d05384c0b9c8d90809b'
|
|
'cd493df91e34030a8195eaf8b6d68140'
|
|
'71851e61d3282c6b5d1b20ccdc3ab6e3'
|
|
'7ab9dc2e4397a66c7a64e08265171996')
|
|
|
|
build(){
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
# Chakra theme:
|
|
patch -p1 -i "${srcdir}/background.diff"
|
|
|
|
cd ${srcdir}
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
rm ${pkgdir}/usr/share/apps/rekonq/pics/background.png
|
|
#install -m 644 -p ${srcdir}/background.png ${pkgdir}/usr/share/apps/rekonq/pics/background.png
|
|
}
|