# Contributor: Carlo Landmeter # Maintainer: pkgname=cinnamon pkgver=2.0.14 pkgrel=1 pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience" url="http://cinnamon.linuxmint.com/" arch="all" license="GPL2" depends="gnome-themes-standard cinnamon-session nemo cinnamon-control-center cinnamon-session cinnamon-settings-daemon cinnamon-screensaver py-dbus py-pillow py-gobject py-gnome-gconf py-lxml" depends_dev="gettext-dev glib-dev gtk+3.0-dev dbus-dev gstreamer-dev clutter-dev dbus-glib-dev gconf-dev muffin-dev cjs-dev gnome-menus-dev libsoup-dev startup-notification-dev networkmanager-dev libgnome-keyring-dev libcroco-dev pulseaudio-dev gobject-introspection-dev librsvg-dev upower-dev accountsservice-dev polkit-dev pango-dev" makedepends="$depends_dev intltool automake autoconf libtool" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/archive/$pkgver.tar.gz" _builddir="$srcdir/Cinnamon-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./autogen.sh \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --libexecdir=/usr/lib/cinnamon \ --disable-schemas-compile \ --enable-compile-warnings=yes \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/*/*.la } md5sums="566129434434d3a2f81dfaa4f33a5abb cinnamon-2.0.14.tar.gz" sha256sums="447f65ceb22a40717656d3d708d16ad450802298d783b23004b6e8d3c8d7da85 cinnamon-2.0.14.tar.gz" sha512sums="9e719397adf2b72ca2433f5c62ea22132e2b06de45d2821123611ea9109dab439711f1c31fe4d7413a86f1d9eb13d9d215a41ffe23b67f9a79ece83802725805 cinnamon-2.0.14.tar.gz"