summaryrefslogtreecommitdiff
path: root/extra/ucommon/PKGBUILD
blob: 23ffd3ec62346d3fdb4f3f239b4ce80f234fe928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 186289 2013-05-23 22:11:35Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=ucommon
pkgver=6.0.5
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++"
license=('GPL3' 'LGPL3')
depends=('openssl')
options=('!libtool')
source=("http://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig})
md5sums=('afbcf89264e9c96dccf4104bab52a9c0'
         'SKIP')

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

check() {
  cd ${pkgname}-${pkgver}
  make check
}

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