# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=bitchx pkgver=1.2.1 pkgrel=9 pkgdesc="An IRC client" url="http://www.bitchx.org/" arch="all" license="BSD" makedepends="tcl-dev openssl-dev ncurses-dev coreutils automake autoconf libtool" subpackages="$pkgname-doc" source="https://downloads.sourceforge.net/project/bitchx/ircii-pana/bitchx-$pkgver/bitchx-$pkgver.tar.gz fix-inline.patch openssl-1.1.patch " builddir="$srcdir"/bitchx-$pkgver prepare() { default_prepare autoreconf -vif } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-ssl \ --enable-ipv6 \ --with-plugins make } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } sha512sums="d5e0a151c69a85cca2544db8478af9fbd8fca17f882993fab7f898a95221087bf6219ad2144caedecb5bc508dfa02fa724737c615fbda47aeb8df8298cdfd645 bitchx-1.2.1.tar.gz 39398c5cec2621971ee8ad2ee011fb99eaa43655350b346df7de9c3fa74ace4b7caf07953618180160e93f9769bbbd143d942c57599b8ac6a082d60d48ab4672 fix-inline.patch 64e13d841ce0699ad419716a4b1404bab5961409cccea10f6dc46bb38e160aa62e1c2b8993e984ee2be681a951e29cf5d7c5f54ad232a20d6ed6ba11cda7dd2d openssl-1.1.patch"