# Description: 7-zip compression utilities # URL: https://github.com/p7zip-project/ # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: # Optional: yasm name=p7zip version=17.05 release=1 source=(https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz) build() { cd $name-$version prt-get isinst yasm && cp makefile.linux_amd64_asm makefile.linux \ || cp makefile.linux_amd64 makefile.linux make -j ${JOBS:-1} all3 mkdir -p $PKG/usr/bin $PKG/usr/share/man $PKG/usr/lib/$name install -m 0755 bin/{7z,7za,7zr} $PKG/usr/bin install -m 0755 bin/{7z.so,7zCon.sfx} $PKG/usr/lib/$name cp -r bin/Codecs $PKG/usr/lib/$name cp -r man1 $PKG/usr/share/man }