milis/talimatname/genel/p/p7zip/talimat

32 lines
673 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: 7zip sıkıştırılmış dosya arşivinin konsol uygulaması
# URL: http://p7zip.sourceforge.net
# Paketçi: milisarge
# Gerekler: yasm
# Grup: ağ
isim=p7zip
surum=16.02
devir=1
kaynak=(https://downloads.sourceforge.net/project/$isim/$isim/$surum/${isim}_${surum}_src_all.tar.bz2
CVE-2016-9296.patch)
derle() {
cd ${isim}_$surum
# https://sourceforge.net/p/p7zip/bugs/185/
patch -Np1 -i $SRC/CVE-2016-9296.patch
cp makefile.linux_amd64_asm makefile.machine
make all3
make install \
DEST_DIR="$PKG" \
DEST_HOME=/usr
# Remove documentation for the GUI file manager
rm -r "$PKG/usr/share/doc/"
install -d "${PKG}"/usr/share/licenses/p7zip
}