void-packages/srcpkgs/compiz-core/template
2017-07-17 15:33:55 -07:00

41 lines
1.2 KiB
Bash

# Template file for 'compiz-core' of Compiz Reloaded
pkgname=compiz-core
version=0.8.14
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=162189adbecf6ad667df81c0d97fe8aa6a86e121beb9783af71e196e83ffa2f3
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
}
}