main/ffmpeg: add replaces to libs so we can upgrade

This commit is contained in:
Natanael Copa 2012-02-01 09:27:48 +00:00
parent 5c79d4427b
commit 58c7cfe172

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ffmpeg
pkgver=0.10
pkgrel=1
pkgrel=2
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
url="http://ffmpeg.org/"
arch="all"
@ -62,6 +62,7 @@ package() {
libs() {
pkgdesc="Libraries for ffmpeg"
replaces="ffmpeg"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/lib "$subpkgdir"/usr
}