#!/bin/bash ver=20 #-----------------------------------------------------------------------# # # customizepkg-patching # Applies a patch to PKGBUILD before building. # # Maintainer: Michael Duell # # Old maintainer: # Daniel Oertwig # homepage: http://www.proggen.org # # A modification of the original customizepkg from # # homepage: http://archlinux.fr # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # #-----------------------------------------------------------------------# #-----------------------------------------------------------------------# ## Some help ... #-----------------------------------------------------------------------# print_usage() { echo "customizepkg - patching version $ver" echo echo "Without any option, this script reads files from the current directory and shows a diff" echo "between the original and the customized version of the files." echo "The patch to apply the changes is read from /etc/customizepkg.d/\$pkgname" echo echo "usage: customizepkg