[arch-commits] Commit in tomboy/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:37:19 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:37:19
  Author: heftig
Revision: 155271

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

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

----------------+
 PKGBUILD       |   37 +++++++++++++++++++++++++++++++++++++
 tomboy.install |   25 +++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: tomboy/repos/testing-i686/PKGBUILD (from rev 155005, tomboy/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:37:19 UTC (rev 155271)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=tomboy
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Desktop note-taking application for Linux and Unix"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org/projects/tomboy/"
+depends=('gtk2' 'gtkspell' 'gconf' 'gconf-sharp' 'dbus-sharp' 'dbus-sharp-glib' 'mono-addins' 'hicolor-icon-theme')
+makedepends=('intltool' 'pkgconfig'  'gnome-doc-utils')
+options=('!libtool' '!emptydirs' '!makeflags')
+groups=('gnome-extra')
+install=tomboy.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('a0f6550560c03aabb311584694bc2a729e688ad94c5d9999137081edaba0c714')
+
+build() {
+  export MONO_SHARED_DIR="$srcdir/.wabi"
+  mkdir -p "$MONO_SHARED_DIR"
+
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var \
+      --disable-update-mimedb
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain tomboy $pkgdir/etc/gconf/schemas/*.schemas
+  rm -f $pkgdir/etc/gconf/schemas/*.schemas
+}

Copied: tomboy/repos/testing-i686/tomboy.install (from rev 155005, tomboy/repos/gnome-unstable-i686/tomboy.install)
===================================================================
--- testing-i686/tomboy.install	                        (rev 0)
+++ testing-i686/tomboy.install	2012-04-01 11:37:19 UTC (rev 155271)
@@ -0,0 +1,25 @@
+pkgname=tomboy
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime
+}
+
+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
+  update-mime-database usr/share/mime
+}



More information about the arch-commits mailing list