#!/bin/sh CWD=`pwd` TMP=/tmp PKG=$TMP/package-atk VERSION=1.10.3 ARCH=alpha BUILD=1 rm -rf $PKG mkdir -p $PKG/usr ( cd $TMP rm -rf atk-$VERSION tar xjf $CWD/atk-$VERSION.tar.bz2 cd atk-$VERSION chown -R root.root . find . -perm 664 -exec chmod 644 {} \; ./configure --prefix=/usr --sysconfdir=/etc make make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/lib/lib*so mkdir -p $PKG/usr/doc/atk-$VERSION cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/atk-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $TMP/package-atk makepkg -l y -c n $TMP/atk-$VERSION-$ARCH-$BUILD.tgz ) 2>&1 | tee $TMP/atk.build.log