[arch-commits] Commit in rtmpdump/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Tue Aug 2 03:47:07 UTC 2011


    Date: Monday, August 1, 2011 @ 23:47:07
  Author: eric
Revision: 134127

upgpkg: rtmpdump 2.4-1
Upstream update, Correct license, PKGBUILD cleanup

Modified:
  rtmpdump/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-01 22:49:07 UTC (rev 134126)
+++ PKGBUILD	2011-08-02 03:47:07 UTC (rev 134127)
@@ -1,20 +1,27 @@
-# $Id: $
+# $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: xduugu
 # Contributor: Elis Hughes <elishughes at 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')
 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
 }


Property changes on: rtmpdump/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list