cinnamon: use pycompile_dirs.

This commit is contained in:
Juan RP 2015-01-25 11:39:25 +01:00
parent 1a292fc754
commit 680e49d5f1
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cinnamon'
pkgname=cinnamon
version=2.4.6
revision=2
revision=3
wrksrc="Cinnamon-${version}"
short_desc="GNOME3 fork of Linux Mint with GNOME2 aspect"
build_style=gnu-configure
@ -23,6 +23,15 @@ homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=f0f8b0c56e8c6ee53daa06bea28c04967960eefed601db2f0ae745ca2abe78e1
pycompile_dirs="
/usr/lib/cinnamon-slideshow
/usr/lib/cinnamon-settings
/usr/lib/cinnamon-screensaver-lock-dialog
/usr/lib/cinnamon-menu-editor
/usr/lib/cinnamon-looking-glass
/usr/lib/cinnamon-json-makepot
/usr/lib/cinnamon-desktop-editor"
pre_configure() {
# Add polkit agent to required components
sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session