1 #Maintainer: Jens Staal <staal1978@gmail.com>
3 pkgname="gnu2busybox-findutils"
6 pkgdesc="Replacing the GNU findutils with the corresponding commands from Busybox"
8 url="http://busybox.net/"
11 # makedepends=('txt2man') #see below...
12 provides=('findutils')
13 conflicts=('findutils')
14 source=('findutils.ls')
15 md5sums=('5ef74d381a12b941f3c805b8e6370f6a')
17 _usrbin=($srcdir/findutils.ls)
22 msg "creating package directories"
24 mkdir "$pkgdir/usr/bin"
25 mkdir "$pkgdir/usr/share"
26 mkdir "$pkgdir/usr/share/man"
27 mkdir "$pkgdir/usr/share/man/man1"
29 msg "creating symlinks for /usr/bin"
31 for i in $(cat $_usrbin)
33 ln -s /bin/busybox $pkgdir/usr/bin/$i
39 msg "setting up manpage entries"
41 #Temporarily commented out since I do not get how I should make it work...
42 #Hardly essential at this stage anyway...
43 # ideas/feedback welcome
46 # for i in $(cat $_usrbin)
47 # /bin/busybox $i --help > $_tmp
48 # txt2man -t $i -s 1 -v "Busybox symlink" $_tmp > $pkgdir/usr/share/man/man1/$i.1