summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b50806154bce7c0ed17c5b528c0aed08016036e0 (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
# Maintainer: Peter Mattern <pmattern at arcor dot de>
# Contributor: Dominic Brekau <aur@dominic.brekau.de>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=ucommon
pkgver=7.0.1
pkgrel=2
pkgdesc='A class framework that was specifically designed for telephony applications'
arch=('i686' 'x86_64')
url='https://www.gnu.org/software/commoncpp/'
license=('LGPL-3.0-or-later')
depends=('gcc-libs' 'openssl' 'bash')
makedepends=('cmake')
#source=("https://ftp.gnu.org/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig})
source=("https://git.savannah.gnu.org/cgit/commoncpp.git/snapshot/commoncpp-$pkgver.tar.gz")
sha256sums=('99fd0e2c69f24e4ca93d01a14bc3fc4e40d69576f235f80f7a8ab37c16951f3e')
#validpgpkeys=('5CF995AAD5CC1E4079F76C38B1732A9CB37C87BA')

build() {
  mkdir build && cd build
  cmake "${srcdir}"/commoncpp-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}