updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gstreamer0.10-rtmp / PKGBUILD
blobb10484b306a4963460b168d02ae302eb8ba83af6
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=gstreamer0.10-rtmp
4 pkgver=0.10.20
5 pkgrel=3
6 pkgdesc="GStreamer plug-in for rtmp streams"
7 arch=('i686' 'x86_64')
8 url="http://rpmfind.net//linux/RPM/mandriva/devel/cooker/x86_64/media/contrib/release/gstreamer0.10-rtmp-0.10.20-3mdv2011.0.x86_64.html"
9 license=('GPL2')
10 depends=('gstreamer0.10-base-git' 'rtmpdump')
12 if [ "${CARCH}" = 'x86_64' ]; then
13   source=(ftp://fr2.rpmfind.net/linux/Mandriva/devel/cooker/x86_64/media/contrib/release/$pkgname-$pkgver-${pkgrel}mdv2011.0.x86_64.rpm)
14   md5sums=('3999af856385948bdb51a8fabd2431b1')
15 elif  [ "${CARCH}" = 'i686' ]; then 
16   source=(ftp://fr2.rpmfind.net/linux/Mandriva/devel/cooker/i586/media/contrib/release/$pkgname-$pkgver-${pkgrel}mdv2011.0.i586.rpm)
17   md5sums=('93f813babbd8aac93f32647d4090f4d2')
20 build() {
21    cd $srcdir
23    mkdir -p $pkgdir/usr/lib/gstreamer-0.10
24    bsdtar xf $pkgname*
26 if [ "${CARCH}" = 'x86_64' ]; then
27    mv $srcdir/usr/lib64/gstreamer-0.10/libgstrtmp.so $pkgdir/usr/lib/gstreamer-0.10
28 elif  [ "${CARCH}" = 'i686' ]; then 
29    mv $srcdir/usr/lib/gstreamer-0.10/libgstrtmp.so $pkgdir/usr/lib/gstreamer-0.10
30 fi