updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / fd / PKGBUILD
bloba7b8493813e8cb6ba42170ec7c44faa1b1d7f6ba
1 # Contributor: jsteel <jsteel at vorx dot com>
2 # Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.net>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
4 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
6 pkgname=fd
7 pkgver=3.00j
8 pkgrel=1
9 pkgdesc="Ncurses file and directory management tool"
10 arch=('any')
11 url="http://hp.vector.co.jp/authors/VA012337/soft/fd/"
12 license=('custom')
13 depends=('ncurses')
14 options=(!emptydirs)
15 source=(http://hp.vector.co.jp/authors/VA012337/soft/fd/FD-$pkgver.tar.gz 'LICENSE')
16 md5sums=('9e12c8a1480cc5f535bf6df852a0defc'
17          '9792276314f0b2a716ce3d5078bf2e13')
19 build() {
20  cd ${srcdir}/FD-${pkgver}
21  install -d ${pkgdir}/usr/{share/man/man1,bin,share/licenses/${pkgname}}
22  make
23  make PREFIX=${pkgdir}/usr DESTDIR=${pkgdir}/ install
24  install -Dm644 ${pkgdir}/usr/man/man1/{fd.1,fdsh.1} ${pkgdir}/usr/share/man/man1/
25  install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
26  rm -r ${pkgdir}/usr/man
27  }