diff options
Diffstat (limited to 'ortp/PKGBUILD')
| -rw-r--r-- | ortp/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ortp/PKGBUILD b/ortp/PKGBUILD new file mode 100644 index 0000000..5e96eeb --- /dev/null +++ b/ortp/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=ortp +pkgver=0.27.0 +pkgrel=1 +pkgdesc="A Real-time Transport Protocol (RTP) library" +arch=('i686' 'x86_64') +url="http://www.linphone.org/index.php/eng/code_review/ortp" +license=('GPL3') +depends=('glibc') +source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz") +sha1sums=('1cfc5ff9053b880fabad176722a97b301867ab7e') + +build() { + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib" "../${pkgname}-${pkgver}" + make +} + +package() { + cd ${srcdir}/build + make DESTDIR="${pkgdir}" install +} |
