From 4ed86530dc53c404f6854146dc1101d15474c1bc Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 2 Oct 2010 16:10:16 -0700
Subject: libraw1394:Upgraded for LinHES 7.

---
 abs/core-testing/libraw1394/PKGBUILD           | 19 +++++++++----------
 abs/core-testing/libraw1394/libraw1394.install | 18 ------------------
 2 files changed, 9 insertions(+), 28 deletions(-)
 delete mode 100644 abs/core-testing/libraw1394/libraw1394.install

diff --git a/abs/core-testing/libraw1394/PKGBUILD b/abs/core-testing/libraw1394/PKGBUILD
index b1065fd..6b6c4bb 100644
--- a/abs/core-testing/libraw1394/PKGBUILD
+++ b/abs/core-testing/libraw1394/PKGBUILD
@@ -1,24 +1,23 @@
-# $Id: PKGBUILD 13741 2008-09-28 13:27:16Z giovanni $
+# $Id: PKGBUILD 63209 2010-01-16 07:32:59Z tpowa $
 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 pkgname=libraw1394
-pkgver=2.0.2
-pkgrel=3
+pkgver=2.0.5
+pkgrel=1
 arch=('i686' 'x86_64')
-license=('LGPL')
+license=('LGPL2.1')
 pkgdesc="Provides an API to the Linux IEEE1394 (FireWire) driver"
 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')
+source=(http://downloads.sourceforge.net/project/libraw1394/libraw1394/${pkgname}-${pkgver}.tar.gz)
 
 build() {
-   cd ${startdir}/src/${pkgname}-${pkgver}
-   ./configure --prefix=/usr
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   ./configure --prefix=/usr || return 1
    make || return 1
-   make DESTDIR=${startdir}/pkg install
+   make DESTDIR="${pkgdir}" install || return 1
 }
+md5sums=('1db64231c78540c32859b591cb8b40cf')
diff --git a/abs/core-testing/libraw1394/libraw1394.install b/abs/core-testing/libraw1394/libraw1394.install
deleted file mode 100644
index 33fb64c..0000000
--- a/abs/core-testing/libraw1394/libraw1394.install
+++ /dev/null
@@ -1,18 +0,0 @@
-# arg 1:  the new package version
-post_install() {
-	ln -s /usr/lib/libraw1394.so.11.0.1 /usr/lib/libraw1394.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/libraw1394.so.8
-}
-
-op=$1
-shift
-$op $*
-- 
cgit v0.12