udisks: fix location of bash completion, needs some empty dirs. bumprev.

This commit is contained in:
Juan RP 2010-11-10 14:28:30 +01:00
parent b8c5cf7a3a
commit 49ae27a411

View File

@ -1,6 +1,7 @@
# Template file for 'udisks'
pkgname=udisks
version=1.0.1
revision=1
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-static --localstatedir=/var --enable-lvm2"
@ -14,6 +15,8 @@ long_desc="
message bus. Some operations (such as suspending the system) are restricted
using PolicyKit."
keep_empty_dirs=yes
Add_dependency run glibc
Add_dependency run glib
Add_dependency run device-mapper
@ -47,5 +50,11 @@ Add_dependency full udev
post_install()
{
# Fix location for bash completion stuff.
install -d ${DESTDIR}/etc/bash_completion.d
mv ${DESTDIR}/etc/profile.d/*.sh ${DESTDIR}/etc/bash_completion.d
rmdir ${DESTDIR}/etc/profile.d
# Fix location of pkg-config files.
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}