void-packages/srcpkgs/emerald/template
2017-07-24 12:02:34 -07:00

32 lines
920 B
Bash

# Template file for 'emerald' of Compiz Reloaded
pkgname=emerald
version=0.8.14
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=08cf6c867edd58f1eaf47fd99036abc79d78074f76187408c4db310983b5b861
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
}
}