#!/bin/sh
#
# Copyright 2005 Dagmar d'Surreal <rivyqntzne@tznvy.pbz>
# Available under the terms of the GNU GPL.
#
NAME="dropline-artwork"
VERSION="2.12.0"
REVISION="1"

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

cflags
cxxflags

preparescratchspace

#Dropline Artwork
PKG_SOURCEURL="http://www.borgerding.org/dropline/paulbest/artwork/dropline-artwork-2.12.0.tar.gz"

findtarball filename
if [ -z "$filename" ]; then
  echo "Unable to locate $PKG_SOURCEURL!  Exiting..."
fi

opentarball $filename

sanifysource $PKG_SRCROOT
spewdo "find $PKG_SRCROOT -type d -exec chmod 755 {} \;"
spewdo "find $PKG_SRCROOT -type f -exec chmod 644 {} \;"
# Just in case...
createdir $PKG_STAGEROOT$PKG_PREFIX/
mv $PKG_SRCROOT $PKG_STAGEROOT$PKG_PREFIX/

removedir $PKG_WORKROOT
createdir $PKG_WORKROOT

# Th-th-th-that's all, folks!
analyzebinaries
includescript
finalizepackage
packagize
cleanup
