# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=dircproxy pkgver=1.2.0_rc1 _ver=${pkgver/_rc/-RC} pkgrel=0 pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients" url="http://code.google.com/p/dircproxy/" arch="all" license="GPL" depends="" makedepends="" install= subpackages="$pkgname-doc" source="http://dircproxy.googlecode.com/files/$pkgname-$_ver.tar.gz " _builddir="$srcdir/$pkgname-$_ver" prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="4fe2e82619c7b575599bfb236adbd872 dircproxy-1.2.0-RC1.tar.gz" sha256sums="40ad50ffd13681114f995519dc3f65f48cb5eac41e780ad14ce8ffd49463757f dircproxy-1.2.0-RC1.tar.gz" sha512sums="edc4234a5249d06e7342250401c79f3f2190b38ca54f9e7fb4b93a093a7e383057043dc42039fb90f9a012f8cb4fe7a6587d35c045bb58d500ecdbcd16354c17 dircproxy-1.2.0-RC1.tar.gz"