void-packages/srcpkgs/libcompizconfig/template

31 lines
1003 B
Bash

# Template file for 'libcompizconfig'
pkgname=libcompizconfig
version=0.8.16
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake intltool 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=d1c8a6a062bf354b65d306957a555f7b97ecde86dacc22a8976a7cb9e78191f8
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
}
}