summaryrefslogtreecommitdiff
path: root/extra/ucommon/PKGBUILD
blob: e9e78bdc01b0b1a34e38df0fc5d553f67a41248c (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
# $Id: PKGBUILD 159166 2012-05-16 20:55:54Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=ucommon
pkgver=5.2.2
pkgrel=2
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=('4739fcd9db006432f1b8e2ea226e414a'
         'adb2349cffe80678e39a96c6ab5c5a5b')

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

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