summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/midori-libre/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/libre/midori-libre/PKGBUILD b/libre/midori-libre/PKGBUILD
index b5fe8b5d7..42d597740 100644
--- a/libre/midori-libre/PKGBUILD
+++ b/libre/midori-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 101244 2013-11-20 13:23:16Z arodseth $
+# $Id: PKGBUILD 101597 2013-11-28 20:54:40Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
@@ -10,7 +10,7 @@
_pkgname=midori
pkgname=midori-libre
pkgver=0.5.6
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight web browser (GTK2), without non-privacy search providers'
arch=('x86_64' 'i686')
url='http://www.midori-browser.org/'
@@ -53,12 +53,14 @@ prepare() {
build() {
cd "$_pkgname-$pkgver"
- ./configure --prefix=/usr
- cmake . && make
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+ make
}
package() {
- make -C "$_pkgname-$pkgver" DESTDIR="$pkgdir" install
+ make -C "$_pkgname-$pkgver/build" DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: