[arch-commits] Commit in rtmpdump/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 21:48:24 UTC 2018


    Date: Friday, November 9, 2018 @ 21:48:21
  Author: foutrelis
Revision: 338621

archrelease: copy trunk to staging-x86_64

Added:
  rtmpdump/repos/staging-x86_64/
  rtmpdump/repos/staging-x86_64/PKGBUILD
    (from rev 338620, rtmpdump/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: rtmpdump/repos/staging-x86_64/PKGBUILD (from rev 338620, rtmpdump/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 21:48:21 UTC (rev 338621)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: xduugu
+# Contributor: Elis Hughes <elishughes at googlemail.com>
+
+pkgname=rtmpdump
+pkgver=2.4.r96.fa8646d
+pkgrel=4
+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')
+
+pkgver() {
+  cd rtmpdump
+
+  _ver_name='2.4'
+  _ver_commit='c28f1bab7822de97353849e7787b59e50bbb1428'
+
+  echo "${_ver_name}.r$(git rev-list --count ${_ver_commit}..HEAD).${_commit}"
+}
+
+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"
+}
+
+package() {
+  cd rtmpdump
+
+  make \
+    prefix='/usr' \
+    sbindir='/usr/bin' \
+    mandir='/usr/share/man' \
+    DESTDIR="${pkgdir}" \
+    install
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list