1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
6 pkgdesc="library for accessing and manipulating reiserfs partitions"
8 url="https://www.namesys.com"
11 source=(#ftp://ftp.namesys.com/pub/libreiserfs/${pkgname}-${pkgver}.tar.gz
12 https://sources.archlinux.org/other/progsreiserfs/${pkgname}-${pkgver}.tar.gz
13 fix-underquoted-definition.patch
15 sha512sums=('e2b94c778796492e66578b3dde8601d8670c11344dca2082eccf648f8bf26a226d07c26333d91357b081c50b09aed4b7f9a5bb1a6c985808c55db02c83e24ce3'
16 '2450b032af7141a90c69584ca4f4d0830a12c35525829d0850207734c218dd83e1d4f49236e835fb93992ac8d4d310d4d63db7038aa49bac32ec60d828cc0bbf')
19 cd ${pkgname}-${pkgver}
20 patch -Np0 -i ../fix-underquoted-definition.patch
21 ./configure --prefix=/usr --mandir=/usr/share/man
25 cd ${pkgname}-${pkgver}
26 make DESTDIR="${pkgdir}" install
27 # only provide lib and includes files
28 # https://bugs.archlinux.org/task/22255
29 rm -r "${pkgdir}"/usr/sbin
30 rm -r "${pkgdir}"/usr/share/man/