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

Tom Gundersen tomegun at archlinux.org
Tue May 1 17:23:55 UTC 2012


    Date: Tuesday, May 1, 2012 @ 13:23:55
  Author: tomegun
Revision: 158040

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

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

-------------------------+
 testing-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: xfsprogs/repos/testing-i686/PKGBUILD (from rev 158039, xfsprogs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-05-01 17:23:55 UTC (rev 158040)
@@ -0,0 +1,33 @@
+# $Id$
+#
+pkgname=xfsprogs
+pkgver=3.1.8
+pkgrel=2
+pkgdesc="XFS filesystem utilities"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://oss.sgi.com/projects/xfs/"
+groups=('base')
+depends=('util-linux')
+options=('!makeflags' '!libtool')
+# 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=('f70b2e7200d4c29f0af1cf70e7be1db6')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export OPTIMIZER="-march=${CARCH/_/-} -O1"
+  export DEBUG=-DNDEBUG
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DIST_ROOT="${pkgdir}" 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"
+}

Copied: xfsprogs/repos/testing-x86_64/PKGBUILD (from rev 158039, xfsprogs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-05-01 17:23:55 UTC (rev 158040)
@@ -0,0 +1,33 @@
+# $Id$
+#
+pkgname=xfsprogs
+pkgver=3.1.8
+pkgrel=2
+pkgdesc="XFS filesystem utilities"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://oss.sgi.com/projects/xfs/"
+groups=('base')
+depends=('util-linux')
+options=('!makeflags' '!libtool')
+# 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=('f70b2e7200d4c29f0af1cf70e7be1db6')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export OPTIMIZER="-march=${CARCH/_/-} -O1"
+  export DEBUG=-DNDEBUG
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DIST_ROOT="${pkgdir}" 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