summaryrefslogtreecommitdiff
path: root/community/notmuch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/notmuch/PKGBUILD')
-rw-r--r--community/notmuch/PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/community/notmuch/PKGBUILD b/community/notmuch/PKGBUILD
index 0896a50ac..9145e8d2a 100644
--- a/community/notmuch/PKGBUILD
+++ b/community/notmuch/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 86877 2013-03-23 23:10:36Z td123 $
+# $Id: PKGBUILD 90380 2013-05-12 06:14:15Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: fauno <fauno at kiwwwi.com.ar>
# Contributor: Olivier Ramonat <olivier at ramonat dot fr>
@@ -7,7 +7,7 @@
pkgbase=notmuch
pkgname=('notmuch' 'notmuch-mutt' 'notmuch-runtime')
pkgver=0.15.2
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://notmuchmail.org/"
license=('GPL3')
@@ -29,7 +29,6 @@ build() {
cd bindings/ruby
ruby extconf.rb
- make
cp -dpr --no-preserve=ownership "$srcdir/${pkgname}-$pkgver"/bindings/python{,2}
@@ -50,7 +49,7 @@ package_notmuch-runtime(){
cd "$srcdir/${pkgname}-$pkgver"
make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install
- install -Dm644 notmuch "$pkgdir/usr/sbin/notmuch"
+ install -Dm644 notmuch "$pkgdir/usr/bin/notmuch"
mkdir -p "$pkgdir"/usr/share/vim/vimfiles/{plugin,syntax}
@@ -84,7 +83,7 @@ package_notmuch(){
# Install ruby bindings
cd "$srcdir/${pkgname}-${pkgver}/bindings/ruby"
sed -i -e 's,/site_ruby,,g' Makefile
- make DESTDIR="$pkgdir" includedir=/usr/include install
+ make exec_prefix=$pkgdir/usr prefix=/usr install
}