diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -7,9 +7,11 @@ arch=('i686' 'x86_64') url="https://github.com/cisco/libsrtp" license=("BSD") -source=("v$pkgver.tar.gz::https://github.com/cisco/libsrtp/archive/v$pkgver.tar.gz") -md5sums=('0f2188e50468a52cdd51d0479849236a') +pkgdesc='provides an implementation of the Secure Real-time Transport Protocol (SRTP), compatible with 0th version of lib' +source=("v$pkgver.tar.gz::https://github.com/cisco/libsrtp/archive/v$pkgver.tar.gz" "LICENSE::https://raw.githubusercontent.com/cisco/libsrtp/master/LICENSE") +md5sums=('0f2188e50468a52cdd51d0479849236a' '2909fcf6f09ffff8430463d91c08c4e1') +depends=("glibc") prepare() { sed -i 's|SHAREDLIBVERSION = 1|SHAREDLIBVERSION = 0|' "$srcdir/libsrtp-$pkgver/Makefile.in" } @@ -23,4 +25,6 @@ build() { package() { cd "libsrtp-$pkgver" make DESTDIR="$pkgdir/" install + mkdir -p "$pkgdir/usr/share/licenses/$pkgname/" + cp "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" } |