1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Marcel Wysocki <maci@satgnu.net>
3 # Contributor: coolkehon <coolkehon at g m a i l>
8 pkgdesc="A small but powerful library, which implements client-server IRC protocol."
10 url="http://libircclient.sf.net"
13 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
15 md5sums=('b0e80d1d6b0c1cc61660fb9d2350b32d'
16 'f2c350d140bd522990c15162645c72f0')
19 cd "$srcdir/$pkgname-$pkgver"
21 # add fPIC flag for x86_64
22 [ "$CARCH" = x86_64 ] && export CFLAGS="$CFLAGS -fPIC"
24 # shared and path patch
25 patch -p1 -i ../shared.patch
27 ./configure --prefix=/usr
28 cd src && make CFLAGS="$CFLAGS"
32 cd "$srcdir/$pkgname-$pkgver/src"
34 make DESTDIR="$pkgdir/" install