summaryrefslogtreecommitdiff
path: root/libre/claws-mail-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/claws-mail-libre/PKGBUILD')
-rw-r--r--libre/claws-mail-libre/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD
index 7a093b29a..ee7019130 100644
--- a/libre/claws-mail-libre/PKGBUILD
+++ b/libre/claws-mail-libre/PKGBUILD
@@ -32,8 +32,8 @@ makedepends=(
bogofilter
compface
spamassassin
- valgrind
)
+[ "$CARCH" != "mips64el" ] && makedepends+=(valgrind)
optdepends=(
'python2: needed for some tools'
'perl: needed for some tools'
@@ -67,7 +67,7 @@ build() {
sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py
- setarch $CARCH ./configure --prefix=/usr\
+ ./configure --prefix=/usr\
--disable-dillo-viewer-plugin\
--disable-static\
--enable-bogofilter-plugin\
@@ -79,16 +79,16 @@ build() {
--enable-pgpmime-plugin\
--enable-spamassassin-plugin
- setarch $CARCH make
+ make
}
package() {
cd $srcdir/$pkgbase-$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/$pkgbase/tools/$i