diff --git a/srcpkgs/libmtp/template b/srcpkgs/libmtp/template index bccf9a2067..c88f3c66a9 100644 --- a/srcpkgs/libmtp/template +++ b/srcpkgs/libmtp/template @@ -1,7 +1,7 @@ # Template file for 'libmtp' pkgname=libmtp version=1.1.6 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --with-udev=/usr/lib/udev ac_cv_func_memcmp_working=yes ac_cv_func_malloc_0_nonnull=yes" @@ -18,8 +18,12 @@ long_desc=" in the form of a library suitable primarily for POSIX compliant operating systems." +post_install() { + sed -i "/^Unable to open/d" ${DESTDIR}/usr/lib/udev/rules.d/69-libmtp.rules +} + libmtp-devel_package() { - depends="libusb-devel libmtp>=${version}" + depends="libusb-devel libmtp>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include