#Packager: George Vlahavas pkgname=dos2unix pkgver=7.4.2 pkgrel=1gv source=("https://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://waterlan.home.xs4all.nl/dos2unix.html slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "dos2unix (Text file format converter)" "This is an update of Benjamin Lin's implementations of dos2unix and" "unix2dos. These implementations of dos2unix and unix2dos have been" "modeled after dos2unix/unix2dos under SunOS/Solaris. They have" "similar conversion modes, namely ascii, 7bit and iso." ) build() { cd $startdir/src/$pkgname-$pkgver export RPM_OPT_FLAGS="$CFLAGS" make -j $numjobs || return 1 make check make \ prefix=$startdir/pkg/usr \ docdir=$startdir/pkg/usr/doc/$pkgname-$pkgver \ mandir=$startdir/pkg/usr/man \ install }