#!/bin/sh -e for file in *.patch do patch -p1 < $file done make make DESTDIR="$1" install