[arch-commits] Commit in bup/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon May 30 21:48:30 UTC 2016


    Date: Monday, May 30, 2016 @ 23:48:30
  Author: arojas
Revision: 177482

Update to 0.28

Modified:
  bup/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-30 20:52:51 UTC (rev 177481)
+++ PKGBUILD	2016-05-30 21:48:30 UTC (rev 177482)
@@ -8,7 +8,7 @@
 # Contributor: SanskritFritz (gmail)
 
 pkgname=bup
-pkgver=0.27.1
+pkgver=0.28
 pkgrel=1
 pkgdesc='Efficient backup system based on the git packfile format'
 arch=('x86_64' 'i686')
@@ -16,36 +16,30 @@
 license=('GPL')
 depends=('python2-fuse' 'par2cmdline' 'pylibacl' 'python2-pyxattr' 'git')
 makedepends=('ruby-ronn' 'git' 'setconf' 'pandoc')
-checkdepends=('rsync')
+checkdepends=('rsync' 'python2-tornado')
 optdepends=('python2-tornado: for bup web')
 source=("git://github.com/bup/bup.git#tag=$pkgver")
 md5sums=('SKIP')
 
 prepare() {
-  cd "$pkgname"
+  cd $pkgname
 
-  # Use Python 2
-  setconf Makefile PYTHON python2
-  grep -rl python | xargs sed -i 's:/python:/python2:g'
-  grep -rl python | xargs sed -i 's:python -:python2 -:g'
-  grep -rl python | xargs sed -i 's:env python:env python2:g'
-  sed -i 's:find_prog python:find_prog python2:g' config/configure
-
   # Make test suite happy
   git config --global user.email "bob at zombo.com"
 }
 
 build() {
-  make -C "$pkgname"
+  cd $pkgname
+  ./configure
+  make
 }
 
 check() {
-  make -C "$pkgname" test -j1
+  cd $pkgname
+  make test -j1
 }
 
 package() {
-  make -C "$pkgname" DESTDIR="$pkgdir" install
+  cd $pkgname
+  make DESTDIR="$pkgdir" PREFIX=/usr install
 }
-
-# getver: bup.github.io
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list