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

Sébastien Luttringer seblu at archlinux.org
Tue Jul 28 21:07:33 UTC 2015


    Date: Tuesday, July 28, 2015 @ 23:07:32
  Author: seblu
Revision: 242617

upgpkg: ceph 0.94.2-2

- fix completion paths

Modified:
  ceph/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-28 20:16:40 UTC (rev 242616)
+++ PKGBUILD	2015-07-28 21:07:32 UTC (rev 242617)
@@ -3,7 +3,7 @@
 
 pkgname=ceph
 pkgver=0.94.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Distributed, fault-tolerant storage platform delivering object, block, and file system'
 arch=('x86_64' 'i686')
 url='http://ceph.com/'
@@ -59,8 +59,8 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+
   cd "$pkgdir"
 
   # systemd
@@ -70,8 +70,9 @@
 
   # fix directories path
   mv sbin/* usr/bin
-  mv etc/bash_completion.d usr/share/bash-completion
   rmdir sbin
+  install -d -m 755 usr/share/bash-completion
+  mv etc/bash_completion.d usr/share/bash-completion/completions
 
   # fix python2 shebang, did not do it in prepare() anymore because it
   # confuse automake



More information about the arch-commits mailing list