diff --git a/srcpkgs/gnome-themes-standard-metacity/template b/srcpkgs/gnome-themes-standard-metacity/template new file mode 100644 index 0000000000..c918ca6050 --- /dev/null +++ b/srcpkgs/gnome-themes-standard-metacity/template @@ -0,0 +1,22 @@ +# Template build file for 'gnome-themes-standard'. +pkgname=gnome-themes-standard-metacity +_pkgname=gnome-themes-standard +version=3.14.2.3 +revision=1 +lib32disabled=yes +build_style=gnu-configure +hostmakedepends="pkg-config intltool librsvg-utils glib-devel" +makedepends="gtk+-devel gtk+3-devel librsvg-devel" +depends="cantarell-fonts adwaita-icon-theme" +short_desc="Standard GNOME themes for metacity" +maintainer="Enno Boland " +homepage="http://www.gnome.org" +license="LGPL-2.1" +distfiles="${GNOME_SITE}/$_pkgname/${version%.*.*}/$_pkgname-$version.tar.xz" +checksum=d82a1cf90be3397deadea46d3ba396a46943c7e141ebc70cf833956b5794e479 +wrksrc=$_pkgname-$version + +post_install() { + # Remove everything but the metacity themes + rm -r $DESTDIR/usr/{lib,share/{icons,themes/*/{gtk-*,index.theme}}} +}