void-packages/srcpkgs/emerald/template
2020-04-21 19:56:41 +02:00

29 lines
909 B
Bash

# Template file for 'emerald'
pkgname=emerald
version=0.8.18
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=53112b557c0d726ad75450b69df1649412ab5fcdf6c0827e383889f58bf437b1
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
}
}