summaryrefslogtreecommitdiff
path: root/community/mate-desktop
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-16 03:37:59 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-16 03:37:59 +0000
commitb296a78e1469d58c52acc47586bd5bb84f25fc0f (patch)
treea7bd50ca00f66f43ab58a4e79740737a82cf6991 /community/mate-desktop
parent154321f7346db5c32dbdf9c730735969eabbd88f (diff)
Thu Jan 16 03:32:12 UTC 2014
Diffstat (limited to 'community/mate-desktop')
-rw-r--r--community/mate-desktop/PKGBUILD38
-rw-r--r--community/mate-desktop/mate-desktop.install11
2 files changed, 49 insertions, 0 deletions
diff --git a/community/mate-desktop/PKGBUILD b/community/mate-desktop/PKGBUILD
new file mode 100644
index 000000000..b29bece25
--- /dev/null
+++ b/community/mate-desktop/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 104063 2014-01-14 23:10:03Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com>
+# Contributor: Xpander <xpander0@gmail.com>
+
+pkgname=mate-desktop
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="Library with common API for various MATE modules"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=(GPL LGPL)
+depends=('dconf' 'gtk2' 'hicolor-icon-theme' 'libunique' 'python2'
+ 'startup-notification')
+makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser')
+optdepends=('lightdm-gtk2-greeter: A lightweight display manager')
+options=('!emptydirs')
+groups=('mate')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('413ef92f1aedf0ffbbf232ce6907211f0f4722a2')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-schemas-compile \
+ --enable-gtk-doc \
+ --with-omf-dir=/usr/share/omf/${pkgname}
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/mate-desktop/mate-desktop.install b/community/mate-desktop/mate-desktop.install
new file mode 100644
index 000000000..3a06d45b9
--- /dev/null
+++ b/community/mate-desktop/mate-desktop.install
@@ -0,0 +1,11 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}