void-packages/srcpkgs/libcompizconfig/template

31 lines
1003 B
Bash

# Template file for 'libcompizconfig'
pkgname=libcompizconfig
version=0.8.18
revision=14
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake gettext libtool pkg-config protobuf"
makedepends="MesaLib-devel compiz-core-devel libSM-devel
libxml++-devel protobuf-devel startup-notification-devel"
short_desc="Compiz Reloaded configuration system library"
maintainer="CoolOhm <micvlas@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/compiz-reloaded"
distfiles="https://github.com/compiz-reloaded/libcompizconfig/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=8ab9b54d1c3fdba84de9c793ecb201d946a7118cce19d50f691def169b2ab396
conf_files="/etc/compizconfig/config"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libcompizconfig-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}