desktop/rekonq/PKGBUILD

41 lines
1.1 KiB
Bash
Raw Normal View History

2010-05-31 00:30:09 +08:00
#
2012-03-02 08:02:43 +08:00
# Apps Packages for Chakra, part of chakra-project.org
2010-05-31 00:30:09 +08:00
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Andrei Nistor <coder[dot]tux[at]ceata[dot]org>
2010-05-31 00:30:09 +08:00
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=rekonq
2012-03-02 08:02:43 +08:00
pkgver=0.9.0
2011-02-09 22:33:37 +08:00
pkgrel=1
2010-05-31 00:30:09 +08:00
pkgdesc='A WebKit based web browser for KDE'
arch=('i686' 'x86_64')
url='http://rekonq.sourceforge.net/'
license=('GPL')
2011-12-12 13:18:08 +08:00
depends=('kdelibs' 'kde-baseapps' 'qt')
2011-04-03 23:39:05 +08:00
makedepends=('cmake' 'automoc4' 'docbook-xsl')
2010-05-31 00:30:09 +08:00
install=${pkgname}.install
2011-02-11 21:21:59 +08:00
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
2012-03-02 08:02:43 +08:00
md5sums=('efa2f8ded1d4b405013ab28d4a6a3911')
2010-05-31 00:30:09 +08:00
build(){
cd ${srcdir}
#Ignore dutch translation cause it was causing issues with 0.9.0
sed -i -e "s/add_subdirectory(nl)/#add_subdirectory(nl)/" ${srcdir}/${pkgname}-${pkgver}/doc/CMakeLists.txt
mkdir -p build
2010-05-31 00:30:09 +08:00
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2010-05-31 00:30:09 +08:00
-DCMAKE_INSTALL_PREFIX=/usr
2011-12-12 13:18:08 +08:00
make
2010-05-31 00:30:09 +08:00
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}