# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=anyfs-tools pkgver=0.85.1a pkgrel=1 pkgdesc="unix-way toolset for recovering and converting filesystems" arch=('i686' 'x86_64') url="http://anyfs-tools.sourceforge.net/" license=('GPL') depends=(bzip2 e2fsprogs libmpeg2 xfsprogs anyfs fuse) source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pkgver}.tar.bz2) md5sums=('6cc523183ebca3e3e9e37bc19caddce9') build() { cd ${startdir}/src/$pkgname-${pkgver} sed -i "s#install: install_progs install_fs install_docs#install: install_progs install_docs#" ./Makefile.in #Dirty Arch64 fix which doesn't affect i686 CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" ./configure --prefix=/usr --build=i686-linux-gnu tar -czf anyfs-$pkgver.tar.gz ./anyfs/ make || return 1 make INSTALLPATH=$startdir/pkg/usr install }