[arch-commits] Commit in xfsprogs/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jul 20 21:44:40 UTC 2017
Date: Thursday, July 20, 2017 @ 21:44:39
Author: foutrelis
Revision: 300877
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
xfsprogs/repos/testing-i686/
xfsprogs/repos/testing-i686/PKGBUILD
(from rev 300876, xfsprogs/trunk/PKGBUILD)
xfsprogs/repos/testing-x86_64/
xfsprogs/repos/testing-x86_64/PKGBUILD
(from rev 300876, xfsprogs/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: xfsprogs/repos/testing-i686/PKGBUILD (from rev 300876, xfsprogs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-07-20 21:44:39 UTC (rev 300877)
@@ -0,0 +1,34 @@
+# $Id$
+#
+pkgname=xfsprogs
+pkgver=4.12.0
+pkgrel=1
+pkgdesc="XFS filesystem utilities"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://oss.sgi.com/projects/xfs/"
+groups=('base')
+depends=('sh' 'libutil-linux' 'readline')
+makedepends=('git')
+options=('!makeflags')
+source=("git+https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git#tag=v${pkgver}")
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-dev"
+ make configure
+ export OPTIMIZER="-march=${CARCH/_/-} -O1"
+ export DEBUG=-DNDEBUG
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-readline
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-dev"
+ 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"
+}
Copied: xfsprogs/repos/testing-x86_64/PKGBUILD (from rev 300876, xfsprogs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-07-20 21:44:39 UTC (rev 300877)
@@ -0,0 +1,34 @@
+# $Id$
+#
+pkgname=xfsprogs
+pkgver=4.12.0
+pkgrel=1
+pkgdesc="XFS filesystem utilities"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://oss.sgi.com/projects/xfs/"
+groups=('base')
+depends=('sh' 'libutil-linux' 'readline')
+makedepends=('git')
+options=('!makeflags')
+source=("git+https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git#tag=v${pkgver}")
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-dev"
+ make configure
+ export OPTIMIZER="-march=${CARCH/_/-} -O1"
+ export DEBUG=-DNDEBUG
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-readline
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-dev"
+ 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