[arch-commits] CVS update of extra/office/gtodo (PKGBUILD gtodo.install)
Eric Belanger
eric at archlinux.org
Sun Nov 4 21:57:54 UTC 2007
Date: Sunday, November 4, 2007 @ 16:57:54
Author: eric
Path: /home/cvs-extra/extra/office/gtodo
Removed: PKGBUILD (1.6) gtodo.install (1.2)
extra repo cleanup
---------------+
PKGBUILD | 27 ---------------------------
gtodo.install | 32 --------------------------------
2 files changed, 59 deletions(-)
Index: extra/office/gtodo/PKGBUILD
diff -u extra/office/gtodo/PKGBUILD:1.6 extra/office/gtodo/PKGBUILD:removed
--- extra/office/gtodo/PKGBUILD:1.6 Sun Apr 22 14:09:08 2007
+++ extra/office/gtodo/PKGBUILD Sun Nov 4 16:57:54 2007
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD,v 1.6 2007/04/22 18:09:08 jgc Exp $
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Ben <ben at benmazer.net>
-
-pkgname=gtodo
-pkgver=0.14
-pkgrel=3
-pkgdesc="A gtk2 todo list manager"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://gtodo.qballcow.nl"
-depends=('gnome-vfs>=2.18.1')
-makedepends=('pkgconfig')
-source=(http://dl.sourceforge.net/sourceforge/gtodo/gtodo-$pkgver.tar.gz)
-md5sums=('51f5d71c51374931a24cce1839402457')
-install=gtodo.install
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make || return 1
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
-
- mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
- gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
- rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
-}
Index: extra/office/gtodo/gtodo.install
diff -u extra/office/gtodo/gtodo.install:1.2 extra/office/gtodo/gtodo.install:removed
--- extra/office/gtodo/gtodo.install:1.2 Sun Apr 22 14:09:08 2007
+++ extra/office/gtodo/gtodo.install Sun Nov 4 16:57:54 2007
@@ -1,32 +0,0 @@
-pkgname=gtodo
-
-post_install() {
- export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
- usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
- elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
- else
- schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
- fi
- export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-
- usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
-}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list