# Maintainer: PktSurf app=tofrodos version=1.7.13 build=1sml homepage="https://www.thefreecountry.com/tofrodos/index.shtml" download="https://tofrodos.sourceforge.io/download/tofrodos-$version.tar.gz" desc="Text file conversion utility to process UTF-8 and ASCII files between MSDOS and Unix formats" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app tar xf $srcdir/$app-$version.tar.?z* cd $app fixbuilddirpermissions } build() { cd src make install -Dm 755 fromdos $pkg/usr/bin/fromdos install -Dm 644 fromdos.1 $pkg/usr/share/man/man1/fromdos.1 ( cd $pkg/usr/bin ; ln -s fromdos todos ) ( cd $pkg/usr/share/man/man1 ; ln -s fromdos.1 todos.1 ) cp ../COPYING $pkgdocs/ mkfinalpkg } sha512sums=" 084a26d44c7ec17929c8cda7655df59f91a6d8f08bba51af9ca0434eedca2f900fb0d38721c9e452c6c2728ad00709531b68b2d40089796622c5163d7663aa19 tofrodos-1.7.13.tar.lz "