diff --git a/srcpkgs/numix-themes/template b/srcpkgs/numix-themes/template index 1d56ec8634..d8ae851c1d 100644 --- a/srcpkgs/numix-themes/template +++ b/srcpkgs/numix-themes/template @@ -1,19 +1,24 @@ -# Template file for 'numix-themes' pkgname=numix-themes version=2.6.6 -revision=1 +revision=2 noarch=yes +wrksrc=numix-gtk-theme-${version} short_desc="A modern flat GTK3/Metacity/Xfwm theme" -build_style=fetch maintainer="Jakub Skrzypnik " license="GPL-3" depends="gtk+3 gtk-engine-murrine" +hostmakedepends="glib-devel ruby libxml2 gdk-pixbuf" homepage="https://github.com/numixproject/numix-gtk-theme" distfiles="${homepage}/archive/${version}.tar.gz" checksum=5ee5ed54bea10fe23c99f1fcc614cbf593764b6310cdf889723f8c251abf0856 -do_install() { - tar xzf ${version}.tar.gz - vmkdir usr/share/themes - vcopy numix-gtk-theme-${version} usr/share/themes/numix-gtk-theme +do_build() { + # Gem needs --pre for the ruby version in the repos. + gem install sass --pre + make ${makejobs} +} + +do_install() { + vmkdir usr/share/themes/numix-gtk-theme + vcopy src/* usr/share/themes/numix-gtk-theme }