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

Alexander Rødseth arodseth at archlinux.org
Sat Dec 9 12:51:22 UTC 2017


    Date: Saturday, December 9, 2017 @ 12:51:21
  Author: arodseth
Revision: 273385

upgpkg: moosefs 3.0.99-1

Modified:
  moosefs/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-09 12:17:55 UTC (rev 273384)
+++ PKGBUILD	2017-12-09 12:51:21 UTC (rev 273385)
@@ -2,7 +2,7 @@
 # Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
 
 pkgname=moosefs
-pkgver=3.0.97_1
+pkgver=3.0.99
 pkgrel=1
 pkgdesc='High performing and fault tolerant distributed file system'
 url='http://moosefs.com/'
@@ -10,12 +10,13 @@
 conflicts=('mfs-master' 'mfs-chunkserver' 'mfs-client')
 arch=('x86_64')
 license=('GPL2')
-depends=('fuse2' 'python2' 'bash' 'xfsprogs')
-source=("http://ppa.moosefs.com/src/moosefs-${pkgver/_/-}.tar.gz") # no https available
-sha256sums=('c8d3f5d6e67ee832edc3f02be26fe8c9e267832bbb05c45fb9957ddc062cfd4f')
+makedepends=('git')
+depends=('fuse2' 'python2' 'xfsprogs')
+source=("git+https://github.com/moosefs/moosefs#tag=v$pkgver")
+sha256sums=('SKIP')
 
 build() {
-  cd "moosefs-${pkgver%_*}"
+  cd moosefs
 
   ./configure \
     --prefix=/usr \
@@ -29,13 +30,13 @@
 }
 
 package() {
-  make DESTDIR="$pkgdir" -C "moosefs-${pkgver%_*}" install
-  
+  make DESTDIR="$pkgdir" -C moosefs install
+
   # Move mount.moosefs from sbin to usr/bin. They end up in
   # /usr/bin just the same, but this silences a warning.
   mv "$pkgdir/sbin/"* "$pkgdir/usr/bin/"
   mv "$pkgdir/usr/sbin/"* "$pkgdir/usr/bin/"
-  rmdir "$pkgdir/sbin" "$pkgdir/usr/sbin"  
+  rmdir "$pkgdir/sbin" "$pkgdir/usr/sbin"
 }
 
 # getver: moosefs.com/download/sources.html



More information about the arch-commits mailing list