void-packages/srcpkgs/emerald/template
2018-11-14 00:21:48 -02:00

29 lines
909 B
Bash

# Template file for 'emerald'
pkgname=emerald
version=0.8.16
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>"
license="GPL-2.0-or-later"
homepage="https://github.com/compiz-reloaded"
distfiles="https://github.com/compiz-reloaded/emerald/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=ae9294909bf4f61e7c46cccb7b4eaec6d09d72f83f5976748265b3cf9df13cfd
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
}
}