summaryrefslogtreecommitdiff
path: root/extra/progsreiserfs/PKGBUILD
blob: f72ee49c5afe01901ed811493ae8a37ae9f77456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 136335 2011-08-26 15:07:16Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=progsreiserfs
pkgver=0.3.0.5
pkgrel=7.1
pkgdesc="library for accessing and manipulating reiserfs partitions"
arch=(i686 x86_64 'mips64el')
url="http://www.namesys.com"
license=('GPL')
depends=('e2fsprogs')
options=('!libtool')
source=(#ftp://ftp.namesys.com/pub/libreiserfs/${pkgname}-${pkgver}.tar.gz
	ftp://ftp.archlinux.org/other/progsreiserfs/${pkgname}-${pkgver}.tar.gz
        fix-underquoted-definition.patch
	)
md5sums=('d822579bbd4a29a1be5e4490869d9bee')

build()        {
        cd ${srcdir}/${pkgname}-${pkgver}
        patch -Np0 -i ../fix-underquoted-definition.patch
        ./configure --prefix=/usr --mandir=/usr/share/man 
        make
}
package() {
        cd ${srcdir}/${pkgname}-${pkgver} 
        make DESTDIR=${pkgdir} install
        # only provide lib and includes files
        # https://bugs.archlinux.org/task/22255
        rm -r ${pkgdir}/usr/sbin
	rm -r ${pkgdir}/usr/share/man/
}
md5sums=('d822579bbd4a29a1be5e4490869d9bee'
         '4c47c1f136d01f60cb73f84116edbcc2')