Date: Monday, April 8, 2013 @ 16:41:44
  Author: heftig
Revision: 87896

extra2community: Moving gnome-applets from extra to community

Added:
  gnome-applets/
  gnome-applets/repos/
  gnome-applets/trunk/
  gnome-applets/trunk/PKGBUILD
  gnome-applets/trunk/gnome-applets.install

-----------------------+
 PKGBUILD              |   35 +++++++++++++++++++++++++++++++++++
 gnome-applets.install |   24 ++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

Added: gnome-applets/trunk/PKGBUILD
===================================================================
--- gnome-applets/trunk/PKGBUILD                                (rev 0)
+++ gnome-applets/trunk/PKGBUILD        2013-04-08 14:41:44 UTC (rev 87896)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <j...@archlinux.org>
+
+pkgname=gnome-applets
+pkgver=3.5.92
+pkgrel=1
+pkgdesc="GNOME Applets"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gnome-panel' 'libgtop' 'gucharmap' 'libnotify')
+makedepends=('gnome-doc-utils' 'intltool' 'gnome-settings-daemon' 
'networkmanager')
+options=(!emptydirs)
+url="http://www.gnome.org";
+install=gnome-applets.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('f6178cb702a39a4103fcb97e9a266bf6d05f05ac5064818f119c023d76170e83')
+
+build() {
+  cd "$pkgname-$pkgver"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+      --sysconfdir=/etc --libexecdir=/usr/lib/gnome-applets \
+      --localstatedir=/var --disable-static \
+      --disable-scrollkeeper --disable-schemas-install \
+      --without-hal
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" 
--domain gnome-applets-3.0 "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
+}


Property changes on: gnome-applets/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: gnome-applets/trunk/gnome-applets.install
===================================================================
--- gnome-applets/trunk/gnome-applets.install                           (rev 0)
+++ gnome-applets/trunk/gnome-applets.install   2013-04-08 14:41:44 UTC (rev 
87896)
@@ -0,0 +1,24 @@
+pkgname=gnome-applets
+
+post_install() {
+  gconfpkg --install ${pkgname}
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Reply via email to