updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / vfu / PKGBUILD
blob6c69194d805afcf31958dc9e62243480abb790ab
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Sebastian Wolf <fatmike303@gmail.com>
4 pkgname=vfu
5 pkgver=4.09
6 pkgrel=1
7 pkgdesc="A console (text mode) file manager for UNIX/Linux"
8 arch=('i686' 'x86_64')
9 url="http://cade.datamax.bg/vfu/"
10 license=('GPL')
11 depends=('ncurses' 'pcre')
12 optdepends=('perl: for the rx_* archiving utilities'
13             'rpmextract: for rx_rpm'
14             'unrar: for rx_rar'
15             'unzip: for rx_zip')
16 install=vfu.install
17 source=(http://cade.datamax.bg/vfu/vfu-$pkgver.tar.gz
18         vfu-$pkgver-gcc44.diff)
19 md5sums=('79aacf5d3e5c18105f22500b675b90c0'
20          'ff5c15ab9f99dbe73afadbb5c471028a')
22 build() {
23   cd "$srcdir/vfu-$pkgver"
24   patch -Np1 -i ../vfu-$pkgver-gcc44.diff || return 1
25   make CCDEF="$CFLAGS -D_FILE_OFFSET_BITS=64" || return 1
26   install -Dm755 vfu/vfu "$pkgdir/usr/bin/vfu"
27   install -m755  rx/rx_* "$pkgdir/usr/bin/"
28   install -Dm644 vfu.1 "$pkgdir/usr/share/man/man1/vfu.1"
29   install -Dm644 vfu.conf "$pkgdir/etc/vfu.conf"