[arch-commits] CVS update of extra/gnome/sbackup (PKGBUILD makefile.patch)

Eric Belanger eric at archlinux.org
Mon Jun 4 02:43:01 EDT 2007


    Date: Monday, June 4, 2007 @ 02:43:01
  Author: eric
    Path: /home/cvs-extra/extra/gnome/sbackup

Modified: PKGBUILD (1.6 -> 1.7) makefile.patch (1.3 -> 1.4)

upgpkg: sbackup 0.10.4-2
Fixed makefile.patch to have locales installed in /usr instead of /


----------------+
 PKGBUILD       |    7 ++++---
 makefile.patch |   16 ++++++++++++++--
 2 files changed, 18 insertions(+), 5 deletions(-)


Index: extra/gnome/sbackup/PKGBUILD
diff -u extra/gnome/sbackup/PKGBUILD:1.6 extra/gnome/sbackup/PKGBUILD:1.7
--- extra/gnome/sbackup/PKGBUILD:1.6	Sun Jun  3 21:50:52 2007
+++ extra/gnome/sbackup/PKGBUILD	Mon Jun  4 02:43:01 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.6 2007/06/04 01:50:52 travis Exp $
+# $Id: PKGBUILD,v 1.7 2007/06/04 06:43:01 eric Exp $
 # Maintainer: Travis Willard <travisw at wmpub.ca>
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=sbackup
 pkgver=0.10.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple backup solution intended for desktop use"
 arch=('i686' 'x86_64')
 url="http://sbackup.sourceforge.net"
@@ -12,12 +12,13 @@
 depends=('gksu' 'gnome-python-extras')
 backup=('etc/sbackup.conf')
 source=(http://dl.sourceforge.net/$pkgname/${pkgname}_${pkgver}.tar.gz makefile.patch)
+md5sums=('d93422c486cbbfcce82251828f688c74' 'cdd036668cd917dbc9550bae6684f5ce')
 
 build() {
   export MAKEFLAGS="-j1"
   cd $startdir/src/$pkgname-$pkgver
 
-  patch -Np0 -i $startdir/src/makefile.patch
+  patch -Np1 -i $startdir/src/makefile.patch
   sed -i -e "s/dpkg --get-selections/pacman -Q/" sbackupd.py
   sed -i -e "s/gksudo/gksu/" sbackup.desktop
 
Index: extra/gnome/sbackup/makefile.patch
diff -u extra/gnome/sbackup/makefile.patch:1.3 extra/gnome/sbackup/makefile.patch:1.4
--- extra/gnome/sbackup/makefile.patch:1.3	Sun Jun  3 21:50:52 2007
+++ extra/gnome/sbackup/makefile.patch	Mon Jun  4 02:43:01 2007
@@ -1,5 +1,6 @@
---- Makefile.old	2007-06-03 14:08:08.000000000 -0400
-+++ Makefile	2007-06-03 14:12:01.000000000 -0400
+diff -Naur sbackup-0.10.4-orig/Makefile sbackup-0.10.4/Makefile
+--- sbackup-0.10.4-orig/Makefile	2007-06-04 02:20:44.000000000 -0400
++++ sbackup-0.10.4/Makefile	2007-06-04 02:23:39.000000000 -0400
 @@ -1,21 +1,18 @@
  PO = pt_BR lv nl es sv fr
  
@@ -61,3 +62,14 @@
  	rm -f $(DESTDIR)/etc/sbackup.conf
  
  clean:
+@@ -61,8 +56,8 @@
+ 	-rm -f *~ *.bak
+ 
+ install-po:
+-	for lang in $(PO); do install -d $(DESTDIR)/share/locale/$$lang/LC_MESSAGES/ ; done
+-	for lang in $(PO); do install -m 644 po/$$lang/LC_MESSAGES/* $(DESTDIR)/share/locale/$$lang/LC_MESSAGES/ ; done
++	for lang in $(PO); do install -d $(DESTDIR)$(PREFIX)/share/locale/$$lang/LC_MESSAGES/ ; done
++	for lang in $(PO); do install -m 644 po/$$lang/LC_MESSAGES/* $(DESTDIR)$(PREFIX)/share/locale/$$lang/LC_MESSAGES/ ; done
+ 
+ po-dir:
+ 	for lang in $(PO); do mkdir -p po/$$lang/LC_MESSAGES/ ; done




More information about the arch-commits mailing list