[arch-commits] Commit in gnome-user-share/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:34:16 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:34:15
  Author: heftig
Revision: 155156

db-move: moved gnome-user-share from [gnome-unstable] to [testing] (i686)

Added:
  gnome-user-share/repos/testing-i686/
  gnome-user-share/repos/testing-i686/PKGBUILD
    (from rev 155005, gnome-user-share/repos/gnome-unstable-i686/PKGBUILD)
  gnome-user-share/repos/testing-i686/gnome-user-share.install
    (from rev 155005, gnome-user-share/repos/gnome-unstable-i686/gnome-user-share.install)
Deleted:
  gnome-user-share/repos/gnome-unstable-i686/

--------------------------+
 PKGBUILD                 |   33 +++++++++++++++++++++++++++++++++
 gnome-user-share.install |   22 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: gnome-user-share/repos/testing-i686/PKGBUILD (from rev 155005, gnome-user-share/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:34:15 UTC (rev 155156)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Roman Kyrylych <roman at archlinux.org>
+
+pkgname=gnome-user-share
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Easy to use user-level file sharing for GNOME."
+arch=('i686' 'x86_64')
+url="http://ftp.gnome.org/pub/GNOME/sources/gnome-user-share/"
+license=('GPL')
+depends=('mod_dnssd' 'gconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'gnome-bluetooth' 'libcanberra')
+makedepends=('intltool' 'gnome-doc-utils' 'nautilus')
+options=('!emptydirs' '!libtool')
+install=gnome-user-share.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('34a5b6e340025e8466233f374898a6e293839f6785c0abf14eed86d1f3d22ffd')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/gnome-user-share \
+      --localstatedir=/var
+  make
+}
+
+package() {
+  cd "${srcdir}/${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-user-share ${pkgdir}/etc/gconf/schemas/*.schemas
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}

Copied: gnome-user-share/repos/testing-i686/gnome-user-share.install (from rev 155005, gnome-user-share/repos/gnome-unstable-i686/gnome-user-share.install)
===================================================================
--- testing-i686/gnome-user-share.install	                        (rev 0)
+++ testing-i686/gnome-user-share.install	2012-04-01 11:34:15 UTC (rev 155156)
@@ -0,0 +1,22 @@
+pkgname=gnome-user-share
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}



More information about the arch-commits mailing list