archrelease: copy trunk to extra-x86_64
[arch-packages.git] / reiserfsprogs / trunk / PKGBUILD
blob5bc3edecbbe7dabccca979a4844dd072d9218355
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
4 pkgname=reiserfsprogs
5 pkgver=3.6.27
6 pkgrel=3
7 pkgdesc="Reiserfs utilities"
8 arch=('x86_64')
9 url="https://www.kernel.org/"
10 license=('GPL')
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 md5sums=('90c139542725efc6da3a6b1709695395'
15          '77dd321df96be58a1fd636f25b1e3544')
17 prepare() {
18   cd ${pkgname}-${pkgver}
19   patch -p1 -i "$srcdir"/reiserfsprogs-3.6.27-loff_t.patch
20   autoreconf -i
23 build() {
24   cd ${pkgname}-${pkgver}
25   CFLAGS+=' -fgnu89-inline'
26   ./configure --prefix=/usr --sbindir=/usr/bin
27   make
30 check() {
31   cd ${pkgname}-${pkgver}
32   make check
35 package() {
36   cd "${srcdir}/${pkgname}-${pkgver}"
37   make DESTDIR="${pkgdir}" install