#!/bin/sh # Copyright (c) 2005 Frederick Emmott CWD=`pwd` VERSION=1.10.3 ARCH=x86_64 BUILD=2 ORIG=atk-$VERSION-i486-2.tgz PKG=/tmp/package-32atk rm -rf $PKG mkdir -p $PKG cd $PKG explodepkg $CWD/$ORIG rm install/doinst.sh zcat $CWD/doinst.sh.gz > install/doinst.sh mv usr/lib _lib rm -rf bin usr etc 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/ mkdir install cat $CWD/slack-desc > install/slack-desc makepkg -l y -c n ../32atk-$VERSION-$ARCH-$BUILD.tgz