Browse Source

xfsprogs: add new package

tags/milky-way/v0.3
André Silva 1 year ago
parent
commit
9d68335726
1 changed files with 32 additions and 0 deletions
  1. +32
    -0
      xfsprogs/PKGBUILD

+ 32
- 0
xfsprogs/PKGBUILD View File

@@ -0,0 +1,32 @@
# Maintainer (Arch):
# Maintainer: André Silva <emulatorman@hyperbola.info>
pkgname=xfsprogs
pkgver=4.10.0
pkgrel=1.hyperbola1
pkgdesc="XFS filesystem utilities"
arch=('i686' 'x86_64')
license=('LGPL-2.1')
url="http://xfs.org/index.php/Main_Page"
groups=('base')
depends=('libutil-linux')
options=('!makeflags')
source=("https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${pkgver}.tar."{xz,sign})
sha512sums=('a29b5e714320d5fcbda7df6e8d81a07bdcba92d7d528ce1c354f1c1b41cb3719443a98cb37ca052f566eb3a08967bcf45492d0b9d95460da90b8a070a7a032e8'
'SKIP')
validpgpkeys=('2B8185919E8D248981869DED20AE1692E13DDEE0') # Eric R. Sandeen

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make configure
export OPTIMIZER="-march=${CARCH/_/-} -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr
make
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DIST_ROOT="${pkgdir}" install install-dev
rm -rf ${pkgdir}/usr/lib
install -Dm644 doc/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}

Loading…
Cancel
Save