1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
7 pkgdesc="Reiserfs utilities"
9 url="https://www.kernel.org/"
11 depends=('util-linux')
12 source=("https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
13 reiserfsprogs-3.6.27-loff_t.patch)
14 sha256sums=('0e95b67fa7746a3c2d59145e9b9c2feb4a6be52853e83b497b182eae508e62e3'
15 '2d4e90d5e2b0610021d0c078f350e098d5573edccdf2864909aada83ed0473f9')
18 cd ${pkgname}-${pkgver}
19 patch -p1 -i "$srcdir"/reiserfsprogs-3.6.27-loff_t.patch
24 cd ${pkgname}-${pkgver}
25 CFLAGS+=' -fgnu89-inline'
26 ./configure --prefix=/usr --sbindir=/usr/bin
31 cd ${pkgname}-${pkgver}
36 cd "${srcdir}/${pkgname}-${pkgver}"
37 make DESTDIR="${pkgdir}" install