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

Alexander Rødseth arodseth at archlinux.org
Thu Jan 16 13:59:32 UTC 2020


    Date: Thursday, January 16, 2020 @ 13:59:31
  Author: arodseth
Revision: 552767

upgpkg: moosefs 3.0.109-2

Modified:
  moosefs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-16 13:37:44 UTC (rev 552766)
+++ PKGBUILD	2020-01-16 13:59:31 UTC (rev 552767)
@@ -2,7 +2,7 @@
 
 pkgname=moosefs
 pkgver=3.0.109
-pkgrel=1
+pkgrel=2
 pkgdesc='High performing and fault tolerant distributed file system'
 url='https://moosefs.com/'
 replaces=(mfs-master mfs-chunkserver mfs-client)
@@ -9,9 +9,9 @@
 conflicts=(mfs-master mfs-chunkserver mfs-client)
 arch=(x86_64)
 license=(GPL2)
-depends=(fuse2 libpcap python2 xfsprogs)
-source=("https://github.com/moosefs/moosefs/archive/v$pkgver.tar.gz"
-        'moosefs.sysusers')
+depends=(fuse2 libpcap python xfsprogs)
+source=("$pkgname-$pkgver.tgz::https://github.com/moosefs/moosefs/archive/v$pkgver.tar.gz"
+        moosefs.sysusers)
 sha256sums=('413349d254f75ea9b9c974a12f67225c7cbec389f8a39a68db569c0d0f6f4ef3'
             'c7fb746f904bf4ecaaa6b15b9bce7a5b3bbe3008247148c561280eba8df250dc')
 
@@ -18,12 +18,12 @@
 build() {
   cd "$pkgname-$pkgver"
   ./configure \
+    --localstatedir=/var/lib \
+    --mandir=/usr/share/man \
     --prefix=/usr \
-    --mandir=/usr/share/man \
     --sysconfdir=/etc \
-    --localstatedir=/var/lib \
+    --with-default-group=mfs \
     --with-default-user=mfs \
-    --with-default-group=mfs \
     --with-systemdsystemunitdir=/usr/lib/systemd/system
   make
 }
@@ -32,7 +32,7 @@
   make DESTDIR="$pkgdir" -C "$pkgname-$pkgver" install
 
   # Move mount.moosefs from sbin to usr/bin. They end up in
-  # /usr/bin just the same, but this silences a warning.
+  # /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"



More information about the arch-commits mailing list