udisks: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 12:00:55 +02:00
parent c4b671d646
commit 330e940eb1
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'udisks'
pkgname=udisks
version=1.0.5
revision=2
revision=3
build_options="systemd"
build_style=gnu-configure
configure_args="--disable-static --enable-lvm2"
configure_args="--sbindir=/usr/bin --disable-static --enable-lvm2"
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel"
makedepends="libglib-devel device-mapper-devel
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
@ -21,7 +21,7 @@ checksum=f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71
pre_configure() {
# Switch to /usr.
sed -i -e "s|\(slashlibdir\)=.*|\1=/usr/lib|g" \
-e "s|\(slashsbindir\)=.*|\1=/usr/sbin|g" configure
-e "s|\(slashsbindir\)=.*|\1=/usr/bin|g" configure
}
post_install() {
if [ "$build_option_systemd" ]; then