diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 10 insertions, 2 deletions
@@ -1,12 +1,16 @@ pkgbase = libsrtp0 + pkgdesc = provides an implementation of the Secure Real-time Transport Protocol (SRTP), compatible with 0th version of lib pkgver = 1.6.0 pkgrel = 1 url = https://github.com/cisco/libsrtp arch = i686 arch = x86_64 license = BSD + depends = glibc source = v1.6.0.tar.gz::https://github.com/cisco/libsrtp/archive/v1.6.0.tar.gz + source = LICENSE::https://raw.githubusercontent.com/cisco/libsrtp/master/LICENSE md5sums = 0f2188e50468a52cdd51d0479849236a + md5sums = 2909fcf6f09ffff8430463d91c08c4e1 pkgname = libsrtp0 @@ -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/" } |