summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-01 03:44:11 -0700
committerroot <root@rshg054.dnsready.net>2013-06-01 03:44:11 -0700
commitc0d441a203fe115f12c4db3d9753e16cc5a73b58 (patch)
tree266dbb35b2072185788cf72ca7244c36b1f4c657
parentf8a7f10fa1675bee536e1fdb4672c3d84e779d1c (diff)
Sat Jun 1 03:44:11 PDT 2013
-rw-r--r--libre/claws-mail-libre/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD
index e37ffe283..2a0ce65ce 100644
--- a/libre/claws-mail-libre/PKGBUILD
+++ b/libre/claws-mail-libre/PKGBUILD
@@ -13,10 +13,11 @@ license=('GPL3')
url="http://www.$_pkgname.org"
depends=('gtk2' 'gnutls' 'startup-notification' 'enchant'
'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind'
+makedepends=('compface' 'spamassassin' 'bogofilter'
# dependencies for plugins
'libsoup' 'libgdata' 'webkitgtk2' 'libnotify' 'libcanberra' 'poppler-glib' 'pygtk')
#'libchamplain' needed for geolocation plugin, disabled for now - most time it's not compatible with current gnome releases
+[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind')
optdepends=('python2: needed for some tools and python plugin'
'perl: needed for some tools and perl plugin'
'spamassassin: adds support for spamfiltering'
@@ -50,7 +51,7 @@ build() {
sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py
sed -i 's:python -c:python2 -c:g' configure
- setarch $CARCH ./configure --prefix=/usr --disable-static \
+ ./configure --prefix=/usr --disable-static \
--enable-enchant \
--enable-gnutls \
--enable-ldap \
@@ -60,16 +61,16 @@ build() {
--enable-bogofilter-plugin \
--enable-jpilot \
#--help
- setarch $CARCH make
+ make
}
package() {
cd $srcdir/$_pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir install
# build and install extra tools
cd tools
- setarch $CARCH make
+ make
# all executables and .conf files ; only top directory
find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do
install -D -m755 $i $pkgdir/usr/lib/$_pkgname/tools/$i