# Maintainer: Dan Serban
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: David Zaragoza <david@zaragoza.com.ve>

pkgname=ucommon
pkgver=5.0.6
pkgrel=1
pkgdesc="A light-weight C++ library to facilitate using C++ design patterns"
arch=(i686 x86_64)
url="http://www.gnutelephony.org/index.php/GNU_uCommon_C%2B%2B"
license=(GPL)
depends=(openssl)
options=('!libtool')
source=("http://ftp.gnu.org/gnu/commoncpp/${pkgname}-${pkgver}.tar.gz")

build()
{
  cd "${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package()
{
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
md5sums=('86958df511e66bb6ea099b6ca3c3b582')