upgpkg: ocaml-integers 0.5.0-1
[arch-packages.git] / progsreiserfs / trunk / PKGBUILD
blobced773433bc6c9c74e0aeec8550e377ee6f62d7a
1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
3 pkgname=progsreiserfs
4 pkgver=0.3.0.5
5 pkgrel=10
6 pkgdesc="library for accessing and manipulating reiserfs partitions"
7 arch=(x86_64)
8 url="https://www.namesys.com"
9 license=('GPL')
10 depends=('e2fsprogs')
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
14         )
15 sha512sums=('e2b94c778796492e66578b3dde8601d8670c11344dca2082eccf648f8bf26a226d07c26333d91357b081c50b09aed4b7f9a5bb1a6c985808c55db02c83e24ce3'
16             '2450b032af7141a90c69584ca4f4d0830a12c35525829d0850207734c218dd83e1d4f49236e835fb93992ac8d4d310d4d63db7038aa49bac32ec60d828cc0bbf')
18 build()        {
19         cd ${pkgname}-${pkgver}
20         patch -Np0 -i ../fix-underquoted-definition.patch
21         ./configure --prefix=/usr --mandir=/usr/share/man 
22         make
24 package() {
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/