Package Details: lib32-rtmpdump 1:2.4.r96.fa8646d-2

Git Clone URL: https://aur.archlinux.org/lib32-rtmpdump.git (read-only)
Package Base: lib32-rtmpdump
Description: Tool to download rtmp streams (lib32)
Upstream URL: http://rtmpdump.mplayerhq.hu/
Keywords: lib32
Licenses: GPL2, LGPL2.1
Provides: librtmp.so
Submitter: rafaelff
Maintainer: GordonGR
Last Packager: GordonGR
Votes: 36
Popularity: 2.703819
First Submitted: 2012-01-26 02:14
Last Updated: 2016-03-07 13:38

Latest Comments

JDaff commented on 2014-10-29 14:08

I submited the file for deletion but next time email me first and i would have done so. I'm pretty resonable.

JDaff commented on 2014-10-28 09:51

_pkgname=rtmpdump
pkgname=lib32-${_pkgname}
pkgver=2.3
pkgrel=1
pkgdesc="A tool to download rtmp streams (32 bit)"
arch=('x86_64')
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('lib32-openssl' "${_pkgname}")
options=('!makeflags')
source=(http://rtmpdump.mplayerhq.hu/download/${_pkgname}-${pkgver}.tgz)
sha1sums=('b65ce7708ae79adb51d1f43dd0b6d987076d7c42')
options=(!makeflags)

prepare() {
cd ${srcdir}/${_pkgname}-${pkgver}
sed -i -e 's:gcc:gcc -m32:' Makefile librtmp/Makefile
}

build() {
cd ${srcdir}/${_pkgname}-${pkgver}
make OPT="$CFLAGS" XLDFLAGS="$LDFLAGS"
}

package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR="${pkgdir}/${_pkgname}-${pkgver}" install
}




This is Acothi if your making a package from git even though it is not required to do so i think. You should still add a -git-commit-a1900c3 to clearly define what package this is. If this was comming from master branch then it shoud have a -git. As I digress the text above should do the exact same function but this would be a stable relase.

JDaff commented on 2014-10-28 09:07

Just thought id mention this but if you are going to make this from git the name needs to be renamed with the suffix -git so I remade the PKGBUILD file so if you want to look it over you can but this way you take out git as a dependency.

_pkgname=rtmpdump
pkgname=lib32-${_pkgname}
pkgver=2.3
pkgrel=1
pkgdesc="A tool to download rtmp streams (32 bit)"
arch=('x86_64')
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('lib32-openssl' "${_pkgname}")
options=('!makeflags')
source=(http://rtmpdump.mplayerhq.hu/download/${_pkgname}-${pkgver}.tgz)
sha1sums=('b65ce7708ae79adb51d1f43dd0b6d987076d7c42')
options=(!makeflags)

prepare() {
cd ${_pkgname}
sed -i -e 's:gcc:gcc -m32:' Makefile librtmp/Makefile
}

build() {
cd ${_pkgname}
make OPT="$CFLAGS" XLDFLAGS="$LDFLAGS"
}

package() {
cd ${_pkgname}
install -dm755 "${pkgdir}/usr/lib32"
make prefix=/usr mandir=/usr/share/man libdir=/usr/lib32
DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr"/{bin,include,sbin,share}
}