PKGBUILDs/core/xfsprogs/PKGBUILD

22 lines
588 B
Bash

# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=xfsprogs
pkgver=3.0.5
pkgrel=1
pkgdesc="XFS filesystem utilities"
arch=('arm')
license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
groups=('base')
depends=('util-linux-ng>=2.16')
options=('!makeflags' '!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-${pkgver}.tar.gz)
md5sums=('d2f981b1ae9348405a331b4c33a08cab')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=armv5te -O1"
export DEBUG=-DNDEBUG
make || return 1
make DIST_ROOT="${pkgdir}" install install-dev || return 1
}