# $Id: PKGBUILD 188535 2013-06-15 10:01:17Z andrea $ # Maintainer: # Contributor: Sergej Pupykin # Contributor: Yejun Yang # Contributor: Michal Krenek pkgname=libsrtp pkgver=15.1c9bd90 pkgrel=1 pkgdesc="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)" url="http://srtp.sourceforge.net/srtp.html" arch=('i686' 'x86_64') license=('BSD') depends=('glibc') makedepends=('git') source=("git://git.linphone.org/srtp.git#commit=1c9bd90") md5sums=('SKIP') pkgver() { cd srtp echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { cd srtp autoconf ./configure --prefix=/usr make } package() { cd srtp make DESTDIR="${pkgdir}" install install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE }