void-packages/srcpkgs/gtk-engine-equinox/template
2018-01-05 13:19:46 +01:00

28 lines
888 B
Bash

# Template file for 'gtk-engine-equinox'
pkgname=gtk-engine-equinox
version=1.50
revision=2
wrksrc="gtk2-engines-equinox-${version}"
build_style=gnu-configure
configure_args="--enable-animation"
hostmakedepends="automake libtool pkg-config"
makedepends="gtk+-devel"
short_desc="Heavily modified version of the beautiful Aurora engine"
maintainer="Renato Aguiar <contact@renatoaguiar.org>"
license="GPL-2"
homepage="https://www.gnome-look.org/p/1080263/"
distfiles="https://launchpad.net/~tiheum/+archive/ubuntu/equinox/+files/gtk2-engines-equinox_${version}.tar.gz"
checksum=319e81644c307c15637e7751bad157d55f4e8d485805f8b0734389cf1909c43e
post_extract() {
# toolbar fix
sed -i "s/=\( EQUINOX_IS_TOOLBAR\)/= widget \&\&\1/" \
src/equinox_style.c
# toolbar fix
sed -i "s/=\( EQUINOX_IS_TOOLBAR\)/= widget \&\&\1/" \
src/equinox_style.c
}
pre_configure() {
autoreconf -i
}