desktop/rekonq/PKGBUILD
2014-05-04 20:21:27 +02:00

47 lines
1.3 KiB
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributor: abveritas@chakra-project.org
pkgname=rekonq
pkgver=2.4.2
pkgrel=3
pkgdesc='A WebKit based web browser for KDE'
arch=('x86_64')
url='http://rekonq.kde.org/'
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
options=("debug")
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"
'background.png'
'background.diff'
'searchengine.diff')
md5sums=('5d2a5ce7817813f68144203c14419669'
'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
}