[arch-commits] Commit in rtmpdump/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Dec 30 18:44:43 UTC 2015
Date: Wednesday, December 30, 2015 @ 19:44:43
Author: alucryd
Revision: 257386
upgpkg: rtmpdump 1:2.4.r96.fa8646d-1
Modified:
rtmpdump/trunk/PKGBUILD
----------+
PKGBUILD | 44 +++++++++++++++++++++++++++++++++-----------
1 file changed, 33 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-30 11:44:47 UTC (rev 257385)
+++ PKGBUILD 2015-12-30 18:44:43 UTC (rev 257386)
@@ -1,29 +1,51 @@
# $Id$
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# 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=20140918
-pkgrel=2
+pkgver=2.4.r96.fa8646d
+pkgrel=1
+epoch=1
pkgdesc='Tool to download rtmp streams'
arch=('i686' 'x86_64')
url='http://rtmpdump.mplayerhq.hu/'
license=('GPL2' 'LGPL2.1')
-depends=('openssl')
+depends=('glibc' 'openssl' 'zlib')
makedepends=('git')
+provides=('librtmp.so')
options=('!makeflags')
-source=(git://git.ffmpeg.org/rtmpdump#commit=a1900c3)
-md5sums=('SKIP')
+_commit='fa8646d'
+source=("git://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 $pkgname
- make OPT="$CFLAGS" XLDFLAGS="$LDFLAGS"
+ cd rtmpdump
+
+ make \
+ OPT="$CFLAGS" \
+ XLDFLAGS="$LDFLAGS"
}
package() {
- cd $pkgname
- make prefix=/usr sbindir=/usr/bin \
- mandir=/usr/share/man DESTDIR="$pkgdir" \
+ 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