[arch-commits] Commit in sbackup/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Tue Sep 28 09:50:02 UTC 2010
Date: Tuesday, September 28, 2010 @ 05:50:01
Author: andrea
Revision: 91882
moved to AUR
Modified:
sbackup/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-28 09:47:55 UTC (rev 91881)
+++ PKGBUILD 2010-09-28 09:50:01 UTC (rev 91882)
@@ -1,5 +1,4 @@
-# $Id$
-# Maintainer: Travis Willard <travisw at wmpub.ca>
+# Contributor: Travis Willard <travisw at wmpub.ca>
# Contributor: William Rea <sillywilly at gmail.com>
pkgname=sbackup
@@ -11,20 +10,20 @@
license=('GPL')
depends=('gksu' 'gnome-python-extras')
backup=('etc/sbackup.conf')
-source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}.tar.gz makefile.patch)
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}.tar.gz
+ makefile.patch)
md5sums=('0d754b72da3b5cadf6de203cdf7afe13'
'7aab11e4490ba3ef3df2f6e1e386d25e')
-build() {
+package() {
export MAKEFLAGS="-j1"
- cd $startdir/src/$pkgname-$pkgver
- sed -i 's#bin/python#bin/python2#' *.py
+ cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $startdir/src/makefile.patch
sed -i -e "s/dpkg --get-selections/pacman -Q/" sbackupd.py
sed -i -e "s/su-to-root -X -c/gksu/" sbackup.desktop
sed -i -e "s/su-to-root -X -c/gksu/" srestore.desktop
- install -dm0755 $startdir/pkg/{usr/share/applications,etc}
+ install -dm0755 $pkgdir/{usr/share/applications,etc}
- make PREFIX=/usr DESTDIR=$startdir/pkg install
+ make PREFIX=/usr DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list