1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: Sebastian Wolf <fatmike303@gmail.com>
7 pkgdesc="A console (text mode) file manager for UNIX/Linux"
9 url="http://cade.datamax.bg/vfu/"
11 depends=('ncurses' 'pcre')
12 optdepends=('perl: for the rx_* archiving utilities'
13 'rpmextract: for rx_rpm'
17 source=(http://cade.datamax.bg/vfu/vfu-$pkgver.tar.gz
18 vfu-$pkgver-gcc44.diff)
19 md5sums=('79aacf5d3e5c18105f22500b675b90c0'
20 'ff5c15ab9f99dbe73afadbb5c471028a')
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"