#!/bin/sh # Copyright (c) 2005 Frederick Emmott CWD=`pwd` VERSION=1.12.3 ARCH=x86_64 # is this a lie? :P BUILD=1 ORIG=pango-$VERSION-i486-1.tgz PKG=/tmp/package-32pango rm -rf $PKG mkdir -p $PKG cd $PKG explodepkg $CWD/$ORIG mv usr/lib _lib rm -rf usr bin mkdir usr mv _lib usr/lib rm -rf usr/lib/pkgconfig find -name "*.la" | xargs rm find -name "*.a" | xargs rm ldconfig -n usr/lib cat $CWD/slack-desc > install/slack-desc makepkg -l y -c n ../32pango-$VERSION-$ARCH-$BUILD.tgz