summaryrefslogtreecommitdiff
path: root/community/echat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/echat/PKGBUILD')
-rw-r--r--community/echat/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/echat/PKGBUILD b/community/echat/PKGBUILD
index 38544e955..1d10f3c86 100644
--- a/community/echat/PKGBUILD
+++ b/community/echat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=echat
pkgver=0.04beta1
pkgrel=3
pkgdesc="vypress compatible ncurses chat (can work without server)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://echat.deep.perm.ru/"
license=(GPL)
depends=(ncurses)
@@ -22,6 +22,8 @@ md5sums=('dda3891d08f04dd266858380d404af15')
build() {
cd $srcdir/$pkgname-${pkgver}
+ sed -ri -e 's/^CFLAGS=.*/CFLAGS='"${CFLAGS}"'/' \
+ -e 's/@\$\(CC\) -o \$@ /@$(CC) '"${LDFLAGS}"' -o $@ /' Makefile
make
install -D -m 0755 echat $pkgdir/usr/bin/echat
install -D -m 0644 doc/echat.1 $pkgdir/usr/share/man/man1/echat.1