blob: 5a79dda76cf10b435e912f1b9930b09bd188d4a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Evgeny Grablyk <evgeny.grablyk@gmail.com>
pkgname=vfu-utf
pkgver=4.21
pkgrel=1
pkgdesc="VFU is console (text mode) file manager. Patched for Unicode (UTF-8) support."
arch=('i686' 'x86_64')
url="http://cade.datamax.bg/vfu/"
license=('GPL')
depends=('ncurses' 'pcre')
optdepends=('perl: for the rx_* archiving utilities'
'rpmextract: for rx_rpm'
'unrar: for rx_rar'
'unzip: for rx_zip')
replaces=('vfu')
backup=('etc/vfu/vfu.conf')
install='vfu.install'
source=(http://cade.datamax.bg/vfu/vfu-$pkgver.tar.gz \
vfu-4.15-unicode.patch)
md5sums=('32a3bfa66c2889302c833d6c7d061fd0'
'218b3674f660dc9c41dafdbb4a5ad44d')
prepare() {
cd "$srcdir/vfu-$pkgver"
# patch for unicode (utf-8) support.
patch -p1 -i ../vfu-4.15-unicode.patch
}
build() {
cd "$srcdir/vfu-$pkgver"
make CCDEF="$CFLAGS -D_FILE_OFFSET_BITS=64"
./build.docs
}
package() {
cd "$srcdir/vfu-$pkgver"
install -Dm755 vfu/vfu "$pkgdir/usr/bin/vfu"
install -Dm644 vfu.1 "$pkgdir/usr/share/man/man1/vfu.1"
install -Dm644 vfu.conf "$pkgdir/etc/vfu/vfu.conf"
install rx/rx_* "$pkgdir/usr/bin/"
}
|