50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Template file for 'ostree'
|
|
pkgname=ostree
|
|
version=2023.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="
|
|
--with-builtin-grub2-mkconfig
|
|
--with-ed25519-libsodium
|
|
--with-openssl
|
|
--with-curl
|
|
$(vopt_enable gir introspection)"
|
|
hostmakedepends="bison docbook-xsl glib-devel libxslt pkg-config"
|
|
makedepends="e2fsprogs-devel fuse-devel glib-devel gpgme-devel libarchive-devel
|
|
libcurl-devel libsoup-devel libsodium-devel $(vopt_if gir 'gobject-introspection')"
|
|
checkdepends="attr-progs cpio elfutils gnupg python3-yaml tar which xz"
|
|
short_desc="Operating system and container binary deployment and upgrades"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
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=b43c4a373799681989bae12b3a1b94f453068dece6540b8e05a23b834c1037e2
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
post_install() {
|
|
vcompletion bash/ostree bash
|
|
}
|
|
|
|
libostree_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|
|
|
|
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"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|