summaryrefslogtreecommitdiff
path: root/ucommon/PKGBUILD
blob: 58046c6d0d5f1faec8982dc5d5328b5511eb1b88 (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
32
33
34
35
36
37
# Maintainer:  Erich Eckner <arch at eckner dot net>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=ucommon
pkgver=7.0.0
pkgrel=16
pkgdesc="A light-weight C++ library to facilitate using C++ design patterns"
arch=('i686' 'pentium4' 'x86_64')
url="http://www.gnutelephony.org/index.php/GNU_uCommon_C++"
license=('LGPL3')
_pinned_dependencies=(
  'gcc-libs=11.2.0'
  'glibc>=2.31'
  'gnutls=3.7.4'
)
depends=("${_pinned_dependencies[@]}")
source=("ftp://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig})
sha512sums=('d32f8603d920eb98b5d4bc75224a7a8bb8bf2001a8dd3152626a8438ea4c39503a7446dec3aa90cf464b7abb68a6e42bac488ef9705517bd333b64bce219915b'
            'SKIP')
validpgpkeys=('5CF995AAD5CC1E4079F76C38B1732A9CB37C87BA')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --with-sslstack=gnu --enable-socks --enable-stdcpp --enable-atomics --with-pkg-config
  make
}

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

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