summaryrefslogtreecommitdiff
path: root/community/mate-panel
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-17 03:43:05 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-17 03:43:05 +0000
commit953eead14ccfe47904e73cee9cea6e1255f57356 (patch)
tree8727303ca854032eb046995d052805c969755f30 /community/mate-panel
parentb296a78e1469d58c52acc47586bd5bb84f25fc0f (diff)
Fri Jan 17 03:37:47 UTC 2014
Diffstat (limited to 'community/mate-panel')
-rw-r--r--community/mate-panel/PKGBUILD41
-rw-r--r--community/mate-panel/mate-panel.install12
2 files changed, 53 insertions, 0 deletions
diff --git a/community/mate-panel/PKGBUILD b/community/mate-panel/PKGBUILD
new file mode 100644
index 000000000..5319266e0
--- /dev/null
+++ b/community/mate-panel/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 104195 2014-01-16 16:33:39Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com>
+# Contributor: Xpander <xpander0@gmail.com>
+
+pkgname=mate-panel
+pkgver=1.6.1
+pkgrel=4
+pkgdesc="The MATE Panel"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dbus-glib' 'dconf' 'gtk2' 'libmatewnck' 'libcanberra' 'libice'
+ 'libmateweather' 'librsvg' 'libsm'
+ 'libsoup' 'libxau' 'mate-desktop' 'mate-file-manager'
+ 'mate-menus' 'mate-session-manager' 'mate-window-manager')
+makedepends=('gobject-introspection' 'mate-common' 'mate-doc-utils'
+ 'networkmanager' 'perl-xml-parser')
+options=('!emptydirs')
+groups=('mate')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('ccd8d01e14d12d09a9c807b98990c02868323c71')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${pkgname} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-introspection \
+ --disable-static \
+ --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/mate-panel/mate-panel.install b/community/mate-panel/mate-panel.install
new file mode 100644
index 000000000..7af080f58
--- /dev/null
+++ b/community/mate-panel/mate-panel.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
+}