summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRealex-fire2015-06-08 23:02:34 +0700
committerRealex-fire2015-06-08 23:02:34 +0700
commit9409671a55b15285396d7f99be5d09892bcb6f0f (patch)
tree4d1acec73f490febb386b15f2e7f64ee379818ba
downloadaur-9409671a55b15285396d7f99be5d09892bcb6f0f.tar.gz
Initial import
-rw-r--r--.AURINFO27
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD39
-rw-r--r--cinnamon-session-git.install12
4 files changed, 106 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..c108ad5c092
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,27 @@
+pkgbase = cinnamon-session-git
+ pkgdesc = The Cinnamon Session Handler
+ pkgver = 126.8c1b918
+ pkgrel = 1
+ url = http://cinnamon.linuxmint.com/
+ install = cinnamon-session-git.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ makedepends = intltool
+ makedepends = mesa
+ makedepends = json-glib
+ makedepends = xtrans
+ makedepends = gnome-common
+ makedepends = git
+ depends = cinnamon-desktop-git
+ depends = upower
+ depends = libcanberra
+ depends = libsm
+ provides = cinnamon-session
+ conflicts = cinnamon-session
+ source = cinnamon-session::git+https://github.com/linuxmint/cinnamon-session.git
+ options = !emptydirs
+
+pkgname = cinnamon-session-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ac9cae53334
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = cinnamon-session-git
+ pkgdesc = The Cinnamon Session Handler
+ pkgver = 126.8c1b918
+ pkgrel = 1
+ url = http://cinnamon.linuxmint.com/
+ install = cinnamon-session-git.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ makedepends = intltool
+ makedepends = mesa
+ makedepends = json-glib
+ makedepends = xtrans
+ makedepends = gnome-common
+ makedepends = git
+ depends = cinnamon-desktop-git
+ depends = upower
+ depends = libcanberra
+ depends = libsm
+ provides = cinnamon-session
+ conflicts = cinnamon-session
+ options = !emptydirs
+ source = cinnamon-session::git+https://github.com/linuxmint/cinnamon-session.git
+ sha256sums = SKIP
+
+pkgname = cinnamon-session-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7eb6eb806b9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Realex
+# Based on cinnamon-session PKGBUILD
+
+_pkgname=cinnamon-session
+pkgname=${_pkgname}-git
+pkgver=126.8c1b918
+pkgrel=1
+pkgdesc="The Cinnamon Session Handler"
+arch=(i686 x86_64)
+license=(GPL LGPL)
+depends=('cinnamon-desktop-git' 'upower' 'libcanberra' 'libsm')
+makedepends=('intltool' 'mesa' 'json-glib' 'xtrans' 'gnome-common' 'git')
+conflicts=("${_pkgname}")
+provides=("${_pkgname}")
+options=('!emptydirs')
+install=${pkgname}.install
+url="http://cinnamon.linuxmint.com/"
+source=(${_pkgname}::git+https://github.com/linuxmint/cinnamon-session.git)
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd $_pkgname
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/cinnamon-session \
+ --sbindir=/usr/bin --disable-schemas-compile --enable-systemd
+ make
+}
+
+package() {
+ cd $_pkgname
+ make DESTDIR="$pkgdir" install
+}
diff --git a/cinnamon-session-git.install b/cinnamon-session-git.install
new file mode 100644
index 00000000000..f7e8c46ac84
--- /dev/null
+++ b/cinnamon-session-git.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}