summaryrefslogtreecommitdiff
path: root/community/anyfs-tools/PKGBUILD
blob: 47d550208b1a4dfa45949a3e408d7685bf61001c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 20118 2010-07-02 14:36:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=anyfs-tools
pkgver=0.85.1c
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 fuse)
source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pkgver}.tar.bz2)
md5sums=('d3da0004cd0f037ec3e926acd3f520c2')

build() {
  cd $srcdir/$pkgname-${pkgver}
  #Dirty Arch64 fix which doesn't affect i686
  CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" ./configure --prefix=/usr --build=i686-linux-gnu
  make || return 1
  sed -i 's|ldconfig||' src/anysurrect/Makefile
  make INSTALLPATH=$pkgdir/usr install
}