diff options
Diffstat (limited to 'community/echat/PKGBUILD')
-rw-r--r-- | community/echat/PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/community/echat/PKGBUILD b/community/echat/PKGBUILD index f78e322b4..71e1e1e84 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 ${startdir}/src/$pkgname-${pkgver} + sed -ri -e 's/^CFLAGS=.*/CFLAGS='"${CFLAGS}"'/' \ + -e 's/@\$\(CC\) -o \$@ /@$(CC) '"${LDFLAGS}"' -o $@ /' Makefile make 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 |