blob: 731f2ea7577e463e16af1cb12091ec36cc5f2bef (
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
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 188535 2013-06-15 10:01:17Z andrea $
# Maintainer:
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Yejun Yang <yejunx AT gmail DOT com>
# Contributor: Michal Krenek <mikos@sg1.cz>
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
}
|