summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-11-05 00:27:32 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-11-05 00:27:32 -0200
commit80a190a9f2a31cb5be75dd3564fb212758511218 (patch)
tree8a5e210f7d91fa0997f0af425dacbba3307023e9
parent08066888f5c6a39721ad53fd46583447daa21bbc (diff)
downloadabslibre-80a190a9f2a31cb5be75dd3564fb212758511218.tar.gz
abslibre-80a190a9f2a31cb5be75dd3564fb212758511218.tar.bz2
abslibre-80a190a9f2a31cb5be75dd3564fb212758511218.zip
libav-static: fixing package
-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: