#Packager: George Vlahavas pkgname=unar pkgver=1.9.1 pkgrel=1gv source=("http://unarchiver.c3.cx/downloads/unar1.9.1_src.zip") docs=("readme.md" "license.txt") url=http://unarchiver.c3.cx/commandline slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "unar (application for uncompressing archive files)" "The Unarchiver is an Objective-C application for uncompressing archive" "files. It supports more formats than I can remember. Zip, Tar, Gzip," "Bzip2, 7-Zip, Rar, LhA, StuffIt, several old Amiga file and disk" "archives, CAB, LZX, stuff I don't even know what it is. It also auto" "detects the encoding of the filenames in the archives and supports" "split archives for certain formats, like RAR." ) build() { cd $startdir/src/The\ Unarchiver/XADMaster sed -i "s/-O2/$CFLAGS/" Makefile.linux make -j $numjobs -f Makefile.linux || return 1 mkdir -p $startdir/pkg/usr/bin cp lsar unar $startdir/pkg/usr/bin/ mkdir -p $startdir/pkg/usr/man/man1 cp ../Extra/{lsar,unar}.1 $startdir/pkg/usr/man/man1/ }