PKGBUILDs/community/anyfs/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
971 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=anyfs
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')
source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/anyfs-tools-${pkgver}.tar.bz2)
install=any.install
md5sums=('6cc523183ebca3e3e9e37bc19caddce9')
build() {
cd ${startdir}/src/anyfs-tools-${pkgver}
sed -i "s#install: install_progs install_fs install_docs#install: install_progs install_docs#" ./Makefile.in
./configure --prefix=/usr
tar -czf anyfs-$pkgver.tar.gz ./anyfs/
cd ./anyfs/
make || return 1
cd ..
install -D -m 0644 anyfs/any.ko $startdir/pkg/lib/modules/`uname -r`/misc/any.ko
# install -D -m 0644 anyfs-$pkgver.tar.gz $startdir/pkg/var/lib/anyfs-tools/anyfs-$pkgver.tar.gz
}