diff options
Diffstat (limited to 'community/echat')
-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 4eeb15a50..a9b0c08a0 100644 --- a/community/echat/PKGBUILD +++ b/community/echat/PKGBUILD @@ -4,7 +4,7 @@ pkgname=echat pkgver=0.04beta1 -pkgrel=2 +pkgrel=2.1 pkgdesc="vypress compatible ncurses chat (can work without server)" arch=('i686' 'x86_64' 'mips64el') url="http://echat.deep.perm.ru/" @@ -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 && \ |