talimat 712 B

12345678910111213141516171819202122232425
  1. # Description: DOS dosya sistemi yardımcı programları
  2. # URL: https://github.com/dosfstools/dosfstools
  3. # Packager: milisarge
  4. # Depends on:
  5. name=dosfstools
  6. version=3.0.13
  7. release=1
  8. source=( ftp://ftp.debian.org/debian/pool/main/d/$name/$name\_$version.orig.tar.xz)
  9. build() {
  10. cd $name-$version
  11. make
  12. mkdir -p $PKG/sbin
  13. mkdir -p $PKG/usr/share/man/man8
  14. cp dosfsck $PKG/sbin
  15. cp man/* $PKG/usr/share/man/man8
  16. cp mkdosfs $PKG/sbin
  17. cd $PKG/sbin && ln -s dosfsck fsck.msdos && ln -s dosfsck fsck.vfat \
  18. && ln -s mkdosfs mkfs.msdos && ln -s mkdosfs mkfs.vfat
  19. cd $PKG/usr/share/man/man8 && ln -s dosfsck.8 fsck.msdos.8 \
  20. && ln -s dosfsck.8 fsck.vfat.8 && ln -s mkdosfs.8 mkfs.msdos.8 \
  21. && ln -s mkdosfs.8 mkfs.vfat.8
  22. }