core/rtmpdump/PKGBUILD

35 lines
709 B
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/rtmpdump
2012-09-02 11:12:11 +08:00
pkgname=rtmpdump
pkgver=2.4.r96.fa8646d
2015-01-09 07:46:55 +08:00
pkgrel=1
epoch=1
commit=fa8646d
2012-09-02 11:12:11 +08:00
pkgdesc="A tool to download rtmp streams"
arch=('x86_64')
2012-09-02 11:12:11 +08:00
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('openssl' 'glibc' 'zlib')
2012-09-02 11:12:11 +08:00
categories=('network')
source=("git://git.ffmpeg.org/rtmpdump#commit=${commit}")
2015-01-09 07:46:55 +08:00
md5sums=('SKIP')
2012-09-02 11:12:11 +08:00
build() {
cd rtmpdump
make \
OPT="$CFLAGS" \
XLDFLAGS="$LDFLAGS"
2012-09-02 11:12:11 +08:00
}
package() {
cd rtmpdump
2012-09-02 11:12:11 +08:00
install -d -m755 "${pkgdir}/usr/lib"
make \
prefix='/usr' \
sbindir='/usr/bin' \
mandir='/usr/share/man' \
DESTDIR="${pkgdir}" \
install
}