1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
7 pkgdesc='JFS filesystem utilities'
8 url='http://jfs.sourceforge.net'
11 depends=('util-linux')
12 source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz"
13 'jfsutils-1.1.15-missing-includes.patch'
14 'jfsutils-1.1.15-sysmacros.patch'
15 'jfsutils-1.1.15-gcc10.patch'
16 'jfsutils-1.1.15-format-security-errors.patch')
17 sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d'
18 '467f43ad5be91f57c01b3171b71d3c079f45d150290b02b06ebd32c6b22f5e2c'
19 'fd1a4e794a3bf2ebdb4b81f582e147655d70aadd59689aacea0ccc32c6381a28'
20 '491c8e4b4d95cc296e4b87b730e252ce37dafbabaae48aa653ae002df26266f2'
21 '40e3ee196b139fec46b2df6047c2f052e7630d9c9e6669d4f70ca478165bc054')
24 cd "${srcdir}/${pkgname}-${pkgver}"
25 patch -p1 -i ../jfsutils-1.1.15-missing-includes.patch
26 patch -p1 -i ../jfsutils-1.1.15-sysmacros.patch
27 patch -p1 -i ../jfsutils-1.1.15-gcc10.patch
28 patch -p1 -i ../jfsutils-1.1.15-format-security-errors.patch
32 cd "${srcdir}/${pkgname}-${pkgver}"
33 ./configure --prefix=/usr --sbindir=/usr/bin
38 cd "${srcdir}/${pkgname}-${pkgver}"
43 cd "${srcdir}/${pkgname}-${pkgver}"
44 make DESTDIR="${pkgdir}" install