diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 17 insertions, 24 deletions
@@ -1,16 +1,14 @@ pkgbase = ucommon pkgdesc = GNU Common C++ is a class framework that was specifically designed for telephony applications. - pkgver = 7.0.0 - pkgrel = 3 + pkgver = 7.0.1 + pkgrel = 1 url = https://www.gnu.org/software/commoncpp/ arch = i686 arch = x86_64 license = LGPL3 - depends = gnutls - source = https://ftp.gnu.org/gnu/commoncpp/ucommon-7.0.0.tar.gz - source = https://ftp.gnu.org/gnu/commoncpp/ucommon-7.0.0.tar.gz.sig - validpgpkeys = 5CF995AAD5CC1E4079F76C38B1732A9CB37C87BA - sha256sums = 6ac9f76c2af010f97e916e4bae1cece341dc64ca28e3881ff4ddc3bc334060d7 - sha256sums = SKIP + makedepends = cmake + depends = openssl + source = https://git.savannah.gnu.org/cgit/commoncpp.git/snapshot/commoncpp-7.0.1.tar.gz + sha256sums = 99fd0e2c69f24e4ca93d01a14bc3fc4e40d69576f235f80f7a8ab37c16951f3e pkgname = ucommon @@ -4,31 +4,26 @@ # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=ucommon -pkgver=7.0.0 -pkgrel=3 +pkgver=7.0.1 +pkgrel=1 pkgdesc='GNU Common C++ is a class framework that was specifically designed for telephony applications.' arch=('i686' 'x86_64') url='https://www.gnu.org/software/commoncpp/' license=('LGPL3') -depends=('gnutls') -source=("https://ftp.gnu.org/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig}) -sha256sums=('6ac9f76c2af010f97e916e4bae1cece341dc64ca28e3881ff4ddc3bc334060d7' - 'SKIP') -validpgpkeys=('5CF995AAD5CC1E4079F76C38B1732A9CB37C87BA') +depends=('openssl') +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() { - cd ${pkgname}-${pkgver} - CXXFLAGS+=" -std=c++14" - ./configure --prefix=/usr --with-sslstack=gnu --enable-socks --enable-stdcpp --enable-atomics --with-pkg-config + mkdir build && cd build + cmake "${srcdir}"/commoncpp-$pkgver -DCMAKE_INSTALL_PREFIX=/usr make } -check() { - cd ${pkgname}-${pkgver} - make check -} - package() { - cd ${pkgname}-${pkgver} + cd build make DESTDIR="${pkgdir}" install } |