updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ytree / PKGBUILD
blob5f87d75fecc02211292f293512554627abec264a
1 # Maintainer: Valere Monseur <valere_monseur@hotmail.com>
3 pkgname=ytree
4 pkgver=1.97
5 pkgrel=1
6 pkgdesc="A curses-based file manager similar to DOS Xtree(tm)"
7 arch=('i686' 'x86_64')
8 url="http://www.han.de/~werner/ytree.html"
9 license=('GPL')
10 depends=('ncurses' 'readline')
11 backup=('etc/ytree.conf')
12 source=(http://www.han.de/~werner/$pkgname-$pkgver.tar.gz)
13 md5sums=('2d5a7388feca60f5955fa9033c46ce47')
15 build() {
16   cd $srcdir/$pkgname-$pkgver
18   # disable experimental CLOCK_SUPPORT
19   cp Makefile Makefile.old
20   grep -v CLOCK_SUPPORT Makefile.old > Makefile
22   make
25 package() {
26   cd $srcdir/$pkgname-$pkgver
28   install -d $pkgdir/usr/bin
29   install -d $pkgdir/usr/share/man/man1
30   install -d $pkgdir/usr/share/man/es/man1
32   install -D -m644 $pkgname.conf $pkgdir/etc/$pkgname.conf
33   install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
35   make DESTDIR=$pkgdir/usr install