1 #Maintainer: Jens Staal <staal1978@gmail.com>
3 pkgname="gnu2busybox-diffutils"
6 pkgdesc="Replacing the GNU diffutils with the corresponding commands from Busybox"
8 url="http://busybox.net/"
11 # makedepends=('txt2man') #see below...
12 provides=('diffutils')
13 conflicts=('diffutils')
14 source=('diffutils.ls')
15 md5sums=('5e36e1b9c2fd1dd553aba91fca653a67')
17 _usrbin=($srcdir/diffutils.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
40 msg "setting up manpage entries"
42 #Temporarily commented out since I do not get how I should make it work...
43 #Hardly essential at this stage anyway...
44 # ideas/feedback welcome
47 # for i in $(cat $_usrbin)
48 # /bin/busybox $i --help > $_tmp
49 # txt2man -t $i -s 1 -v "Busybox symlink" $_tmp > $pkgdir/usr/share/man/man1/$i.1