diff options
Diffstat (limited to 'extra/rtmpdump')
-rw-r--r-- | extra/rtmpdump/PKGBUILD | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/extra/rtmpdump/PKGBUILD b/extra/rtmpdump/PKGBUILD index 44adf0a39..98318e7d2 100644 --- a/extra/rtmpdump/PKGBUILD +++ b/extra/rtmpdump/PKGBUILD @@ -1,20 +1,27 @@ -# $Id: $ +# $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.3 -pkgrel=3 +pkgver=2.4 +pkgrel=1 pkgdesc="A tool to download rtmp streams" arch=('i686' 'x86_64' 'mips64el') url="http://rtmpdump.mplayerhq.hu/" -license=('LGPL') +license=('GPL2' 'LGPL2.1') depends=('openssl') -source=(http://rtmpdump.mplayerhq.hu/download/${pkgname}-${pkgver}.tgz) -sha256sums=('ef38b7a99d82ce6912063d21063aeaf28185341b3df486e24bffce5354224b2c') +#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}" - sed -i 's/^install_so.0:.*/& install_base/' librtmp/Makefile - make prefix=/usr MANDIR="${pkgdir}/usr/share/man" DESTDIR="${pkgdir}" install + install -d -m755 "${pkgdir}/usr/lib" + make prefix=/usr mandir=/usr/share/man DESTDIR="${pkgdir}" install } |