diff options
Diffstat (limited to 'libre/midori-gtk3-libre/PKGBUILD')
-rw-r--r-- | libre/midori-gtk3-libre/PKGBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/libre/midori-gtk3-libre/PKGBUILD b/libre/midori-gtk3-libre/PKGBUILD index 868c578ab..66083d847 100644 --- a/libre/midori-gtk3-libre/PKGBUILD +++ b/libre/midori-gtk3-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 95784 2013-08-16 19:36:19Z arodseth $ +# $Id: PKGBUILD 101601 2013-11-28 22:21:02Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Andreas Radke <andyrtr@archlinux.org> @@ -9,8 +9,8 @@ _pkgname=midori-gtk3 pkgname=midori-gtk3-libre -pkgver=0.5.5 -pkgrel=1 +pkgver=0.5.6 +pkgrel=2 pkgdesc='Lightweight web browser (GTK3), without non-privacy search providers' arch=('x86_64' 'i686') url='http://www.midori-browser.org/' @@ -19,18 +19,18 @@ install='midori.install' replaces=$_pkgname conflicts=('midori' "$_pkgname") provides=('midori' "$_pkgname=$pkgver") -depends=('libzeitgeist' 'webkitgtk' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr') -makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg') +depends=('libzeitgeist' 'webkitgtk3' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr') +makedepends=('pkg-config' 'bzr' 'python2' 'libxml2' 'gtk3' 'intltool' 'python2-docutils' 'libsoup' 'vala' 'librsvg' 'cmake') optdepends=('gst-plugins-base: HTML5 OGG videos support' 'gst-plugins-good: HTML5 H264 and WebM videos support' 'gst-libav: HTML5 H264 videos support' 'aria2: download utility') options=('!emptydirs') source=("http://www.midori-browser.org/downloads/${_pkgname/-gtk3}_${pkgver}_all_.tar.bz2") -sha256sums=('ca69382a285222a86028abebd73fed1976735883027ff0adc094b627789bbd62') +sha256sums=('c5be1b5d9933776f09c5cab7945a073a820d65555e51fda9ff55fd063843f24a') prepare() { - cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + cd "${_pkgname/-gtk3}-$pkgver" # remove non-privacy search providers sed -i 's|Duck Duck Go|DuckDuckGo HTML| @@ -51,19 +51,16 @@ prepare() { } build() { - cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + cd "${_pkgname/-gtk3}-$pkgver" - ./configure \ - --prefix=/usr \ - --enable-gtk3 \ - --disable-granite + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DUSE_GTK3=1 make } package() { - cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" - - make DESTDIR="$pkgdir" install + make -C "${_pkgname/-gtk3}-$pkgver/build" DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: |