summaryrefslogtreecommitdiff
path: root/extra/ucommon/PKGBUILD
blob: 1902c97d9d2b0c2150e410507e843ca160908680 (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
# $Id: PKGBUILD 197457 2013-10-26 07:03:21Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=ucommon
pkgver=6.0.7
pkgrel=2
pkgdesc="A light-weight C++ library to facilitate using C++ design patterns"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnutelephony.org/index.php/GNU_uCommon_C++"
license=('GPL3' 'LGPL3')
depends=('openssl')
source=(http://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz{,.sig})
md5sums=('0774a0315beac7b26ec75d44d925f208'
         'SKIP')

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

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

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