void-packages/srcpkgs/compiz-core/template

36 lines
1.1 KiB
Bash

# Template file for 'compiz-core'
pkgname=compiz-core
version=0.8.18
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake gettext-devel intltool libtool pkg-config libxslt"
makedepends="fuse-devel gettext-devel glib-devel glu-devel
inotify-tools-devel libSM-devel libXcomposite-devel libXcursor-devel
libXi-devel libXinerama-devel libXrandr-devel librsvg-devel libxml++-devel
libXdamage-devel libxslt-devel startup-notification-devel"
short_desc="Compiz Reloaded core module"
maintainer="CoolOhm <micvlas@gmail.com>"
license="MIT, LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://github.com/compiz-reloaded"
distfiles="https://github.com/compiz-reloaded/compiz/archive/v${version}.tar.gz"
checksum=bb5af1f646c610ebbc686a5cef9bbcaab13f9d14e18f1463c1e96df4c4a9b80a
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING.MIT
}
compiz-core-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}