# $Id: PKGBUILD 107514 2011-01-26 12:57:49Z tpowa $ # Maintainer: Tobias Powalowski pkgname=progsreiserfs pkgver=0.3.0.5 pkgrel=6 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 ) md5sums=('d822579bbd4a29a1be5e4490869d9bee') build() { cd ${srcdir}/${pkgname}-${pkgver} ./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/ }