#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=tuxpaint-stamps
pkgver=2009.06.28
pkgrel=1gv
arch=noarch
source=("http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2009.06.28.tar.gz")
url=http://www.tuxpaint.org/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"tuxpaint-stamps (additional stamps for Tux Paint)"
"This package contains a set of 'Rubber Stamp' images which can be"
"used with the 'Stamp' tool within Tux Paint."
)

build() {
	# Patch Makefile & Install
	cd $startdir/src/$pkgname-$pkgver
	sed -i 's|PREFIX=/usr/local|PREFIX=$(DESTDIR)/usr|' \
		Makefile
	make install-all DESTDIR=$startdir/pkg
	
	# Move docs
	mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver
	cp -r $startdir/src/$pkgname-$pkgver/docs/* $startdir/pkg/usr/doc/$pkgname-$pkgver
}