summaryrefslogtreecommitdiff
path: root/community/echat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/echat/PKGBUILD')
-rw-r--r--community/echat/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/echat/PKGBUILD b/community/echat/PKGBUILD
index ff17db8f2..a9b0c08a0 100644
--- a/community/echat/PKGBUILD
+++ b/community/echat/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=echat
pkgver=0.04beta1
-pkgrel=2
+pkgrel=2.1
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 ${startdir}/src/$pkgname-${pkgver}
+ sed -ri -e 's/^CFLAGS=.*/CFLAGS='"${CFLAGS}"'/' \
+ -e 's/@\$\(CC\) -o \$@ /@$(CC) '"${LDFLAGS}"' -o $@ /' Makefile
make || return 1
install -D -m 0755 echat $startdir/pkg/usr/bin/echat && \
install -D -m 0644 doc/echat.1 $startdir/pkg/usr/share/man/man1/echat.1 && \