aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cinnamon
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/cinnamon')
-rw-r--r--unmaintained/cinnamon/APKBUILD61
-rw-r--r--unmaintained/cinnamon/cinnamon.post-deinstall6
-rw-r--r--unmaintained/cinnamon/cinnamon.post-install6
-rw-r--r--unmaintained/cinnamon/cinnamon.post-upgrade6
4 files changed, 79 insertions, 0 deletions
diff --git a/unmaintained/cinnamon/APKBUILD b/unmaintained/cinnamon/APKBUILD
new file mode 100644
index 0000000000..72363b9f06
--- /dev/null
+++ b/unmaintained/cinnamon/APKBUILD
@@ -0,0 +1,61 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=cinnamon
+pkgver=2.0.14
+pkgrel=2
+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"
diff --git a/unmaintained/cinnamon/cinnamon.post-deinstall b/unmaintained/cinnamon/cinnamon.post-deinstall
new file mode 100644
index 0000000000..772791e6f3
--- /dev/null
+++ b/unmaintained/cinnamon/cinnamon.post-deinstall
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Compiling glib schemas"
+
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
diff --git a/unmaintained/cinnamon/cinnamon.post-install b/unmaintained/cinnamon/cinnamon.post-install
new file mode 100644
index 0000000000..772791e6f3
--- /dev/null
+++ b/unmaintained/cinnamon/cinnamon.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Compiling glib schemas"
+
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
diff --git a/unmaintained/cinnamon/cinnamon.post-upgrade b/unmaintained/cinnamon/cinnamon.post-upgrade
new file mode 100644
index 0000000000..772791e6f3
--- /dev/null
+++ b/unmaintained/cinnamon/cinnamon.post-upgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Compiling glib schemas"
+
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+