void-packages/srcpkgs/compiz-core/template
2020-04-21 19:56:41 +02:00

36 lines
1.1 KiB
Bash

# Template file for 'compiz-core'
pkgname=compiz-core
version=0.8.18
revision=1
wrksrc="compiz-${version}"
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
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
}
}