diff --git a/srcpkgs/schroot/template b/srcpkgs/schroot/template index 40a588f2372..aec52018595 100644 --- a/srcpkgs/schroot/template +++ b/srcpkgs/schroot/template @@ -1,12 +1,15 @@ # Template file for 'schroot' pkgname=schroot version=1.6.10 -revision=1 +revision=2 build_style=gnu-configure configure_args=" --enable-dchroot --enable-lvm-snapshot --enable-btrfs-snapshot + --enable-block-device + --enable-loopback + --enable-uuid BTRFS=/usr/bin/btrfs BTRFSCTL=/usr/bin/btrfsctl LVCREATE=/usr/sbin/lvcreate @@ -48,17 +51,21 @@ make_dirs=" /var/lib/schroot/session 0755 root root /var/lib/schroot/mount 0755 root root /etc/schroot/chroot.d 0755 root root" -hostmakedepends="cmake doxygen btrfs-progs" -makedepends="boost-devel pam-devel lockdev-devel e2fsprogs-devel" +hostmakedepends="cmake pkg-config" +makedepends="boost-devel pam-devel lockdev-devel libuuid-devel e2fsprogs-devel" short_desc="Allows users to execute commands in different chroots" maintainer="Andrea Brancaleoni " license="GPL-3" homepage="https://wiki.debian.org/Schroot" -distfiles="http://${DEBIAN_SITE}/main/s/${pkgname}/${pkgname}_${version}.orig.tar.xz" +distfiles="${DEBIAN_SITE}/main/s/${pkgname}/${pkgname}_${version}.orig.tar.xz" checksum="3ce8dfd9cb97b099e4b6d4ccec421d6cc8c9ef84574681e928a12badb5643d0b" +post_install() { + vmkdir usr/share/bash-completion/completions + mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions +} + schroot-devel_package() { - depends="schroot>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include