[arch-commits] Commit in xfsprogs/repos (3 files)

Tobias Powalowski tpowa at archlinux.org
Fri Aug 1 10:30:06 UTC 2014


    Date: Friday, August 1, 2014 @ 12:30:04
  Author: tpowa
Revision: 218486

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  xfsprogs/repos/testing-i686/
  xfsprogs/repos/testing-x86_64/
  xfsprogs/repos/testing-x86_64/PKGBUILD
    (from rev 218485, xfsprogs/trunk/PKGBUILD)

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

Copied: xfsprogs/repos/testing-x86_64/PKGBUILD (from rev 218485, xfsprogs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-08-01 10:30:04 UTC (rev 218486)
@@ -0,0 +1,33 @@
+# $Id$
+#
+pkgname=xfsprogs
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="XFS filesystem utilities"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://oss.sgi.com/projects/xfs/"
+groups=('base')
+depends=('libutil-linux')
+options=('!makeflags')
+# We mirror the sources as upstream tends to move them once a new release is out
+source=("ftp://ftp.archlinux.org/other/xfsprogs/${pkgname}-${pkgver}.tar.gz")
+md5sums=('5c6905932029c8f9207fe5a0a8aac24b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export OPTIMIZER="-march=${CARCH/_/-} -O1"
+  export DEBUG=-DNDEBUG
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DIST_ROOT="${pkgdir}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
+  chown -R root $pkgdir
+  chgrp -R root $pkgdir
+  # add hack as we cannot set rootlibdir
+  mv "${pkgdir}"/lib/libhandle.so* "${pkgdir}/usr/lib/"
+  rm -rf "${pkgdir}/lib"
+}




More information about the arch-commits mailing list