void-packages/srcpkgs/emerald/template

33 lines
922 B
Bash

# Template file for 'emerald' of Compiz Reloaded
pkgname=emerald
version=0.8.12.4
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake intltool libtool pkg-config libxslt glib-devel gettext-devel"
makedepends="compiz-core-devel gettext-devel libwnck-devel"
short_desc="Compiz Reloaded native window decorator"
maintainer="CoolOhm <micvlas@gmail.com>"
homepage="https://github.com/compiz-reloaded"
license="GPL-2"
distfiles="https://github.com/compiz-reloaded/emerald/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=00a565cd9f5e4442b94d4a40b81e03a6591d734e58d969f73187cc320eaca20c
pre_configure() {
mkdir -p m4
NOCONFIGURE=1 ./autogen.sh
}
emerald-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}