#!/bin/bash # unzip # # Douglas Thrift # # $Id$ name=unzip version=5.52 revision=0 categories=(archivers) description='Extraction utility for archives compressed in .zip format' url='http://www.info-zip.org/UnZip.html' depends=('base/glibc') sources=(`site_info_zip` unix-Makefile.patch unix-unix.c.patch) function build() { gnu_patch unix-Makefile.patch unix-unix.c.patch || return $? gmake -f unix/Makefile prefix=/usr linux || return $? gmake -f unix/Makefile prefix=$package/usr install }