# Description: port of the 7-Zip file archiver for Unix-like operating systems # URL: https://github.com/p7zip-project/p7zip # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: name=p7zip version=17.06 release=1 source=(https://github.com/${name}-project/${name}/archive/v${version}/${name}-${version}.tar.gz fix-uintxx_t-redefined.patch) build() { cd ${name}-${version} patch -Np1 -i ../fix-uintxx_t-redefined.patch sed '/^gzip/d' -i install.sh sed -i '160a if(_buffer == nullptr || _size == _pos) return E_FAIL;' CPP/7zip/Common/StreamObjects.cpp make all3 make DEST_HOME=/usr \ DEST_MAN=/usr/share/man \ DEST_DIR=$PKG install }