summaryrefslogtreecommitdiff
path: root/extra/rtmpdump/PKGBUILD
blob: 087b35c41a655490756b82d4d88a0ca5573178a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 187070 2013-06-03 11:16:53Z allan $
# Maintainer:
# Contributor: xduugu
# Contributor: Elis Hughes <elishughes@googlemail.com>

pkgname=rtmpdump
pkgver=20121203
pkgrel=2
pkgdesc="A tool to download rtmp streams"
arch=('i686' 'x86_64')
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('openssl')
options=(!makeflags)
#git://git.ffmpeg.org/rtmpdump 
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz)
sha256sums=('e5d9f7411bddd5a12be677f2a285c38100313db2b3b1f8d2a709d46e03741409')

build() {
    make -C "$pkgname-$pkgver"
}

package() {
    make -C "$pkgname-$pkgver" prefix=/usr mandir=/usr/share/man DESTDIR="$pkgdir" install
        # usrmove
        cd "$pkgdir"
        mv usr/sbin/* usr/bin
        rmdir usr/sbin
}