1 # Contributor: Evgeny Grablyk <evgeny.grablyk@gmail.com>
5 pkgdesc="VFU is console (text mode) file manager. Patched for Unicode (UTF-8) support."
7 url="http://cade.datamax.bg/vfu/"
9 depends=('ncurses' 'pcre')
10 optdepends=('perl: for the rx_* archiving utilities'
11 'rpmextract: for rx_rpm'
15 backup=('etc/vfu/vfu.conf')
16 install=('vfu.install')
18 source=(http://cade.datamax.bg/vfu/vfu-$pkgver.tar.gz \
19 vfu-$pkgver-unicode.patch)
20 md5sums=('73e17895768b6585806e61dc64ded544'
21 '218b3674f660dc9c41dafdbb4a5ad44d')
24 cd $startdir/src/vfu-$pkgver
26 # patch for unicode (utf-8) support.
27 patch -p1 -i ../vfu-$pkgver-unicode.patch
29 make CCDEF="$CFLAGS -D_FILE_OFFSET_BITS=64" || return 1
31 ./build.docs || return 1
32 gzip -9 vfu.1 || return 1
33 install -d $startdir/pkg/usr/bin/ || return 1
34 install -d $startdir/pkg/usr/man/man1/ || return 1
35 install -d $startdir/pkg/usr/bin/ || return 1
36 install vfu/vfu $startdir/pkg/usr/bin/ || return 1
37 install vfu.1.gz $startdir/pkg/usr/man/man1/ || return 1
38 install rx/rx_* $startdir/pkg/usr/bin/ || return 1