Date: Monday, December 9, 2019 @ 21:23:12 Author: arojas Revision: 536444
archrelease: copy trunk to community-staging-x86_64 Added: ortp/repos/community-staging-x86_64/ ortp/repos/community-staging-x86_64/PKGBUILD (from rev 536443, ortp/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: ortp/repos/community-staging-x86_64/PKGBUILD (from rev 536443, ortp/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-09 21:23:12 UTC (rev 536444) @@ -0,0 +1,33 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Jaroslaw Swierczynski <swier...@aur.archlinux.org> +# Contributor: William Rea <sillywi...@gmail.com> + +pkgname=ortp +pkgver=4.3 +pkgrel=1 +pkgdesc="A Real-time Transport Protocol (RTP) library" +arch=(x86_64) +url="https://github.com/BelledonneCommunications/ortp" +license=(GPL3) +depends=(bctoolbox) +makedepends=(cmake doxygen) +source=($pkgname-$pkgver.tar.gz::"https://github.com/BelledonneCommunications/ortp/archive/$pkgver.tar.gz") +sha256sums=('27a71ea6983fde5fb37ad24f42a41b7b1327ac5f0369196f5c0cfe4b2355540e') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_STATIC=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}