void-packages/srcpkgs/libostree/template
Julian Paul Dasmarinas 00465b581b libostree: Modified install directory for bash completion script
Changed the location of bash completion from /usr/share/bash-completions/completions
to /usr/share/bash-completion/completions
2018-09-23 10:09:59 -03:00

31 lines
1.1 KiB
Bash

# Template file for 'libostree'
pkgname=libostree
version=2018.8
revision=2
build_style=gnu-configure
configure_args="--with-builtin-grub2-mkconfig --with-openssl"
hostmakedepends="bison docbook-xsl glib-devel libxslt pkg-config"
makedepends="e2fsprogs-devel fuse-devel glib-devel gpgme-devel libarchive-devel
libsoup-devel"
checkdepends="attr-progs cpio elfutils python3-yaml"
short_desc="Operating system and container binary deployment and upgrades"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.0-or-later"
homepage="https://ostree.readthedocs.io/en/latest/"
changelog="https://github.com/ostreedev/ostree/releases"
distfiles="https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz"
checksum=beef6debb0065bf1dc7538cd036c5f0348ac102ca4ad6d8651feff146130a844
post_install() {
vinstall bash/ostree 644 usr/share/bash-completion/completions
}
libostree-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}