summaryrefslogtreecommitdiff
path: root/community/cinnamon-session/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cinnamon-session/PKGBUILD')
-rw-r--r--community/cinnamon-session/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/cinnamon-session/PKGBUILD b/community/cinnamon-session/PKGBUILD
new file mode 100644
index 000000000..c73cb60eb
--- /dev/null
+++ b/community/cinnamon-session/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira@antergos.com>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=cinnamon-session
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="The Cinnamon Session Handler"
+arch=(i686 x86_64)
+license=(GPL LGPL)
+depends=(systemd dconf gsettings-desktop-schemas gtk3
+ hicolor-icon-theme libgl libsm libxtst upower)
+makedepends=(intltool mesa json-glib gtk-doc xtrans gnome-common)
+options=('!emptydirs')
+install=cinnamon-session.install
+url="https://github.com/linuxmint/cinnamon-session"
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-session/archive/${pkgver}.tar.gz
+ timeout.patch)
+sha256sums=('d1eba64a5484f086f257ee75799d12afd77373fbdb0ced8d3ae48eadcd02a878'
+ 'ef421a14814c7858490b3a806568ab4ec8a0dc21d390e94f801771c1261bb24a')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Increase timeout, for slow machines
+ patch -Np1 -i ../timeout.patch
+}
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/cinnamon-session \
+ --disable-schemas-compile --enable-systemd --disable-gconf
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}