[arch-commits] Commit in xfsdump/repos (community-x86_64 community-x86_64/PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Sun Aug 25 14:32:52 UTC 2019


    Date: Sunday, August 25, 2019 @ 14:32:50
  Author: farseerfc
Revision: 501699

archrelease: copy trunk to community-x86_64

Added:
  xfsdump/repos/community-x86_64/
  xfsdump/repos/community-x86_64/PKGBUILD
    (from rev 501698, xfsdump/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: xfsdump/repos/community-x86_64/PKGBUILD (from rev 501698, xfsdump/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-08-25 14:32:50 UTC (rev 501699)
@@ -0,0 +1,34 @@
+# Contributor: judd <jvinet at zeroflux.org>
+# Contributor: dkaylor <dpkaylor at gmail.com>
+# Contributor: Pablo Lezaeta <prflr88 at gmail.com>
+# Maintainer: Allen Wild <allenwild93 at gmail.com>
+
+pkgname=xfsdump
+pkgver=3.1.8
+pkgrel=6
+pkgdesc="Additional XFS filesystem utilities"
+arch=(i686 x86_64)
+url="http://xfs.org"
+license=('GPL')
+depends=('xfsprogs' 'attr' 'acl' 'dmapi')
+source=(https://kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-${pkgver}.tar.{xz,sign})
+# Eric R. Sandeen <sandeen at sandeen.net>
+validpgpkeys=('2B8185919E8D248981869DED20AE1692E13DDEE0')
+sha256sums=('ed14e67ae5b273c2698e767b43a46f033d361e540fe13feaaf9b110ee0edc585'
+            'SKIP')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sbindir=/usr/bin INSTALL_USER=root INSTALL_GROUP=root
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # root /sbin directory can't be overridden properly with configure,
+  # so move files manually
+  mv -vf "${pkgdir}/sbin/"* "${pkgdir}/usr/bin/"
+  rmdir "${pkgdir}/sbin"
+}


More information about the arch-commits mailing list