archrelease: copy trunk to extra-x86_64
[arch-packages.git] / reiserfsprogs / trunk / PKGBUILD
blob52f13bc5ae15edcccc32cec0830d2fe39160735a
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
4 pkgname=reiserfsprogs
5 pkgver=3.6.27
6 pkgrel=4
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 sha256sums=('0e95b67fa7746a3c2d59145e9b9c2feb4a6be52853e83b497b182eae508e62e3'
15             '2d4e90d5e2b0610021d0c078f350e098d5573edccdf2864909aada83ed0473f9')
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