From a161e177385ed48565736c46276f703ca8df231b Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Thu, 19 Feb 2009 00:22:55 -0800 Subject: Fixes MythTV and libraw1394.so.8. --- abs/core-testing/libraw1394/PKGBUILD | 3 ++- abs/core-testing/libraw1394/libraw1394.install | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 abs/core-testing/libraw1394/libraw1394.install diff --git a/abs/core-testing/libraw1394/PKGBUILD b/abs/core-testing/libraw1394/PKGBUILD index 4c73a58..9d169a8 100644 --- a/abs/core-testing/libraw1394/PKGBUILD +++ b/abs/core-testing/libraw1394/PKGBUILD @@ -4,7 +4,7 @@ pkgname=libraw1394 pkgver=2.0.2 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') license=('LGPL') pkgdesc="Provides an API to the Linux IEEE1394 (FireWire) driver" @@ -12,6 +12,7 @@ depends=('glibc') makedepends=('pkgconfig') url="http://www.linux1394.org/" options=(!libtool force) +install=libraw1394.install source=(http://www.linux1394.org/dl/${pkgname}-${pkgver}.tar.gz) md5sums=('9fbbef5ea31101c4c28085db134fd448') diff --git a/abs/core-testing/libraw1394/libraw1394.install b/abs/core-testing/libraw1394/libraw1394.install new file mode 100644 index 0000000..a51232d --- /dev/null +++ b/abs/core-testing/libraw1394/libraw1394.install @@ -0,0 +1,18 @@ +# arg 1: the new package version +post_install() { + ln -s /usr/lib/libraw1392.so.11.0.1 /usr/lib/libraw1392.so.8 +} +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + rm -fr /usr/lib/libraw1392.so.8 +} + +op=$1 +shift +$op $* -- cgit v0.12