summaryrefslogtreecommitdiff
path: root/pcr/libav-static/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libav-static/PKGBUILD')
-rw-r--r--pcr/libav-static/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/pcr/libav-static/PKGBUILD b/pcr/libav-static/PKGBUILD
index 5452628af..932213a3e 100644
--- a/pcr/libav-static/PKGBUILD
+++ b/pcr/libav-static/PKGBUILD
@@ -8,7 +8,7 @@ pkgbase=libav
pkgname=libav-static
pkgflag=-static
pkgver=0.8.4
-pkgrel=1
+pkgrel=2
pkgdesc='Complete and free Internet live audio and video broadcasting solution for GNU/Linux, with static library'
arch=(
i686
@@ -99,20 +99,22 @@ build() {
package() {
cd $pkgbase-$pkgver
make DESTDIR=$pkgdir install install-man
+ install -m755 -d $pkgdir/etc/ld.so.conf.d
install -m755 -d $pkgdir/usr/bin
install -m755 -d $pkgdir/usr/share/man/man1
install -Dm755 tools/qt-faststart $pkgdir/opt/$pkgname/bin
- install -Dm755 $srcdir/avconv$pkgflag $pkgdir/usr/bin
- install -Dm755 $srcdir/avplay$pkgflag $pkgdir/usr/bin
- install -Dm755 $srcdir/avprobe$pkgflag $pkgdir/usr/bin
- install -Dm755 $srcdir/avserver$pkgflag $pkgdir/usr/bin
- install -Dm755 $srcdir/ffmpeg-$pkgname $pkgdir/usr/bin
- install -Dm755 $srcdir/qt-faststart-$pkgname $pkgdir/usr/bin
+ ln -s /opt/$pkgname/bin/avconv $pkgdir/usr/bin/avconv$pkgflag
+ ln -s /opt/$pkgname/bin/avplay $pkgdir/usr/bin/avplay$pkgflag
+ ln -s /opt/$pkgname/bin/avprobe $pkgdir/usr/bin/avprobe$pkgflag
+ ln -s /opt/$pkgname/bin/avserver $pkgdir/usr/bin/avserver$pkgflag
+ ln -s /opt/$pkgname/bin/ffmpeg $pkgdir/usr/bin/ffmpeg-$pkgname
+ ln -s /opt/$pkgname/bin/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname
ln -s /opt/$pkgname/share/man/man1/avconv.1 $pkgdir/usr/share/man/man1/avconv$pkgflag.1
ln -s /opt/$pkgname/share/man/man1/avplay.1 $pkgdir/usr/share/man/man1/avplay$pkgflag.1
ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1
ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$pkgflag.1
ln -s /opt/$pkgname/share/man/man1/ffmpeg.1 $pkgdir/usr/share/man/man1/ffmpeg-$pkgname.1
+ echo /opt/libav-static/lib > $pkgdir/etc/ld.so.conf.d/libav-static.conf
}
# vim:set ts=2 sw=2 et: