void-packages/srcpkgs/compiz-core/template

37 lines
1.1 KiB
Bash

# Template file for 'compiz-core'
pkgname=compiz-core
version=0.8.16.1
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=fe3384206eafac529f3b55b73d51f3a26ef83e829174270152905bb5f94c99ff
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
}
}