diff --git a/srcpkgs/libgphoto2/template b/srcpkgs/libgphoto2/template index 752e15e2e0d..3be4aad4a5f 100644 --- a/srcpkgs/libgphoto2/template +++ b/srcpkgs/libgphoto2/template @@ -1,7 +1,7 @@ # Template file for 'libgphoto2' pkgname=libgphoto2 version=2.4.14 -revision=6 +revision=7 build_style=gnu-configure configure_args="--disable-static --disable-rpath udevscriptdir=/usr/lib/udev" hostmakedepends="pkg-config" @@ -15,7 +15,7 @@ checksum=59b32d45252f67d066cc3bda7a59f8078e0cf4e7f23590a4b621633e81060292 post_install() { # Remove unused udev helper - rm -rf ${pkgdir}/usr/lib/udev + rm -rf ${DESTDIR}/usr/lib/udev vmkdir usr/lib/udev/rules.d LD_LIBRARY_PATH="${DESTDIR}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \