jobcore/reiserfsprogs/PKGBUILD-arch
2022-03-20 14:19:37 +02:00

38 lines
879 B
Text

# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=reiserfsprogs
pkgver=3.6.27
pkgrel=3
pkgdesc="Reiserfs utilities"
arch=('x86_64')
url="https://www.kernel.org/"
license=('GPL')
depends=('util-linux')
source=("https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
reiserfsprogs-3.6.27-loff_t.patch)
md5sums=('90c139542725efc6da3a6b1709695395'
'77dd321df96be58a1fd636f25b1e3544')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "$srcdir"/reiserfsprogs-3.6.27-loff_t.patch
autoreconf -i
}
build() {
cd ${pkgname}-${pkgver}
CFLAGS+=' -fgnu89-inline'
./configure --prefix=/usr --sbindir=/usr/bin
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}