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

Ionut Biru ibiru at archlinux.org
Fri Dec 7 18:21:41 UTC 2012


    Date: Friday, December 7, 2012 @ 13:21:41
  Author: ibiru
Revision: 172941

update to 20121203

Modified:
  rtmpdump/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-12-07 18:20:24 UTC (rev 172940)
+++ PKGBUILD	2012-12-07 18:21:41 UTC (rev 172941)
@@ -4,24 +4,22 @@
 # Contributor: Elis Hughes <elishughes at googlemail.com>
 
 pkgname=rtmpdump
-pkgver=2.4
+pkgver=20121203
 pkgrel=1
 pkgdesc="A tool to download rtmp streams"
 arch=('i686' 'x86_64')
 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')
+options=(!makeflags)
+#git://git.ffmpeg.org/rtmpdump 
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz)
+sha256sums=('e5d9f7411bddd5a12be677f2a285c38100313db2b3b1f8d2a709d46e03741409')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"  
-  make
+    make -C "$pkgname-$pkgver"
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  install -d -m755 "${pkgdir}/usr/lib"
-  make prefix=/usr mandir=/usr/share/man DESTDIR="${pkgdir}" install
+    make -C "$pkgname-$pkgver" prefix=/usr mandir=/usr/share/man DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list