You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
915 B

# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=reiserfsprogs
pkgver=3.6.27
pkgrel=3.1
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 "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i $srcdir/reiserfsprogs-3.6.27-loff_t.patch
autoreconf -i
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
CFLAGS+=' -fgnu89-inline'
./configure --prefix=/usr --sbindir=/usr/bin
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}