Date: Tuesday, January 11, 2022 @ 07:26:41 Author: alucryd Revision: 434209
upgpkg: rtmpdump 1:2.4.r99.f1b83c1-1 Modified: rtmpdump/trunk/PKGBUILD ----------+ PKGBUILD | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-11 07:14:01 UTC (rev 434208) +++ PKGBUILD 2022-01-11 07:26:41 UTC (rev 434209) @@ -4,34 +4,36 @@ # Contributor: Elis Hughes <[email protected]> pkgname=rtmpdump -pkgver=2.4.r96.fa8646d -pkgrel=6 +pkgver=2.4.r99.f1b83c1 +pkgrel=1 epoch=1 -pkgdesc='Tool to download rtmp streams' -arch=('x86_64') -url='https://rtmpdump.mplayerhq.hu/' -license=('GPL2' 'LGPL2.1') -depends=('glibc' 'gnutls' 'zlib') -makedepends=('git') -provides=('librtmp.so') -options=('!makeflags') -_commit='fa8646d' -source=("git+https://git.ffmpeg.org/rtmpdump#commit=${_commit}") -sha256sums=('SKIP') +pkgdesc='A toolkit for RTMP streams' +arch=(x86_64) +url=https://rtmpdump.mplayerhq.hu/ +license=( + GPL2 + LGPL2.1 +) +depends=( + glibc + gnutls + zlib +) +makedepends=(git) +provides=(librtmp.so) +#options=('!makeflags') +_commit=f1b83c10d8beb43fcc70a6e88cf4325499f25857 +source=(git+https://git.ffmpeg.org/rtmpdump#commit=${_commit}) +sha256sums=(SKIP) pkgver() { cd rtmpdump - - _ver_name='2.4' - _ver_commit='c28f1bab7822de97353849e7787b59e50bbb1428' - - echo "${_ver_name}.r$(git rev-list --count ${_ver_commit}..HEAD).${_commit}" + echo "2.4.r$(git rev-list --count c28f1bab7822de97353849e7787b59e50bbb1428..HEAD).$(git rev-parse --short HEAD)" } build() { cd rtmpdump sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile - make \ OPT="$CFLAGS" \ XLDFLAGS="$LDFLAGS" @@ -39,11 +41,10 @@ package() { cd rtmpdump - make \ - prefix='/usr' \ - sbindir='/usr/bin' \ - mandir='/usr/share/man' \ + prefix=/usr \ + sbindir=/usr/bin \ + mandir=/usr/share/man \ DESTDIR="${pkgdir}" \ install }
