[arch-commits] Commit in libgphoto2/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Mon Nov 1 12:58:06 UTC 2010
Date: Monday, November 1, 2010 @ 08:58:05
Author: ibiru
Revision: 97695
upgpkg: libgphoto2 2.4.10-1
update to 2.4.10
Modified:
libgphoto2/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-11-01 10:07:46 UTC (rev 97694)
+++ PKGBUILD 2010-11-01 12:58:05 UTC (rev 97695)
@@ -3,38 +3,38 @@
# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
pkgname=libgphoto2
-pkgver=2.4.9
+pkgver=2.4.10
pkgrel=1
pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
arch=(i686 x86_64)
url="http://www.gphoto.org"
license=(LGPL)
-depends=('libexif>=0.6.19' 'libjpeg>=8' 'libtool>=2.2.6b' 'libusb')
+depends=('libexif>=0.6.19' 'libjpeg>=8' 'gd' 'libtool>=2.4' 'libusb')
install=libgphoto2.install
options=('libtool')
source=(http://downloads.sourceforge.net/gphoto/${pkgname}-${pkgver}.tar.gz)
-md5sums=('26e0d7cff6c6f0be453d7612309d80a6')
+md5sums=('64951b07ad40b02117c1beee9caf2d4d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- udevscriptdir=/lib/udev ./configure --prefix=/usr --with-drivers=all --disable-static --disable-rpath || return 1
- LD_PRELOAD="" make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ udevscriptdir=/lib/udev ./configure --prefix=/usr --with-drivers=all --disable-static --disable-rpath
+ LD_PRELOAD="" make
+ make DESTDIR="${pkgdir}" install
rm -f ${pkgdir}/usr/lib/libgphoto2/${pkgver}/*.a
-
+
install -m755 -d "${pkgdir}/usr/share/hal/fdi/information/20thirdparty"
install -m755 -d "${pkgdir}/lib/udev/rules.d"
LD_LIBRARY_PATH="${pkgdir}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
CAMLIBS="${pkgdir}/usr/lib/libgphoto2/${pkgver}" \
"${pkgdir}/usr/lib/libgphoto2/print-camera-list" hal-fdi > \
- "${pkgdir}/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi" || return 1
+ "${pkgdir}/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi"
LD_LIBRARY_PATH="${pkgdir}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
CAMLIBS="${pkgdir}/usr/lib/libgphoto2/${pkgver}" \
"${pkgdir}/usr/lib/libgphoto2/print-camera-list" udev-rules version 136 group camera mode 0660 > \
- "${pkgdir}/lib/udev/rules.d/54-gphoto.rules" || return 1
+ "${pkgdir}/lib/udev/rules.d/54-gphoto.rules"
# Remove recursive symlink
- rm -f "${pkgdir}/usr/include/gphoto2/gphoto2" || return 1
+ rm -f "${pkgdir}/usr/include/gphoto2/gphoto2"
}
More information about the arch-commits
mailing list