summaryrefslogtreecommitdiff
path: root/extra/rtmpdump/PKGBUILD
blob: 98318e7d2f34477c9e21721829f6ba78f9fffec0 (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
# $Id: PKGBUILD 134127 2011-08-02 03:47:07Z eric $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: xduugu
# Contributor: Elis Hughes <elishughes@googlemail.com>

pkgname=rtmpdump
pkgver=2.4
pkgrel=1
pkgdesc="A tool to download rtmp streams"
arch=('i686' 'x86_64' 'mips64el')
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('openssl')
#source=(http://rtmpdump.mplayerhq.hu/download/${pkgname}-${pkgver}.tgz)
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('2c3b76d46d56180176ef099b8ad50a1608bef1dac35d8cb0b21ceac31b5c0656')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"  
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -d -m755 "${pkgdir}/usr/lib"
  make prefix=/usr mandir=/usr/share/man DESTDIR="${pkgdir}" install
}