mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
udisks: fix location of bash completion, needs some empty dirs. bumprev.
This commit is contained in:
parent
b8c5cf7a3a
commit
49ae27a411
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'udisks'
|
# Template file for 'udisks'
|
||||||
pkgname=udisks
|
pkgname=udisks
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
|
revision=1
|
||||||
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--disable-static --localstatedir=/var --enable-lvm2"
|
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
|
message bus. Some operations (such as suspending the system) are restricted
|
||||||
using PolicyKit."
|
using PolicyKit."
|
||||||
|
|
||||||
|
keep_empty_dirs=yes
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run glib
|
Add_dependency run glib
|
||||||
Add_dependency run device-mapper
|
Add_dependency run device-mapper
|
||||||
|
@ -47,5 +50,11 @@ Add_dependency full udev
|
||||||
|
|
||||||
post_install()
|
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
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue