summaryrefslogtreecommitdiff
path: root/extra/libgphoto2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgphoto2/PKGBUILD')
-rw-r--r--extra/libgphoto2/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/extra/libgphoto2/PKGBUILD b/extra/libgphoto2/PKGBUILD
index 4247e2d7f..f8117f8f2 100644
--- a/extra/libgphoto2/PKGBUILD
+++ b/extra/libgphoto2/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 189864 2013-07-10 07:26:55Z bpiotrowski $
+# $Id: PKGBUILD 204790 2014-01-27 08:48:48Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Eduardo Romero <eduardo@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=libgphoto2
-pkgver=2.5.2
-pkgrel=2
+pkgver=2.5.3.1
+pkgrel=1
pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
arch=(i686 x86_64 'mips64el')
url="http://www.gphoto.org"
@@ -14,8 +14,9 @@ license=(LGPL)
depends=('libexif' 'libjpeg' 'gd' 'libltdl' 'libusb')
install=libgphoto2.install
options=('libtool')
-source=(http://downloads.sourceforge.net/gphoto/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d9f4462957e59bf2b2eb3b1ea8423570')
+source=(http://downloads.sourceforge.net/gphoto/${pkgname}-${pkgver}.tar.bz2{,.asc})
+md5sums=('aad2607a84442769c14f6acce2ca1ddf'
+ 'SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -32,11 +33,11 @@ package() {
# Remove unused udev helper
rm -rf "${pkgdir}/usr/lib/udev"
- install -m755 -d "${pkgdir}/usr/lib/udev/rules.d"
+ install -m755 -d "${pkgdir}/usr/lib/udev/hwdb.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" udev-rules version 175 > \
- "${pkgdir}/usr/lib/udev/rules.d/40-gphoto.rules"
+ "${pkgdir}/usr/lib/libgphoto2/print-camera-list" hwdb > \
+ "${pkgdir}/usr/lib/udev/hwdb.d/20-gphoto.conf"
# Remove recursive symlink
rm -f "${pkgdir}/usr/include/gphoto2/gphoto2"