void-packages/srcpkgs/compiz-core/template
2017-02-19 07:36:09 +01:00

41 lines
1.2 KiB
Bash

# Template file for 'compiz-core' of Compiz Reloaded
pkgname=compiz-core
version=0.8.12.3
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>"
homepage="https://github.com/compiz-reloaded"
license="MIT, LGPL-2, GPL-2"
distfiles="https://github.com/compiz-reloaded/compiz/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=2ffccaffcdc8b1a2fd3d7533e28cbeb36e1e8102dce9a6edbf165d842374cee9
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING
vlicense COPYING.GPL
vlicense COPYING.LGPL
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
}
}