PKGBUILDs/community/tuxpaint/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
1.2 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Sergio Jovani Guzman <moret.sjg@gmail.com>
# Adopted: royrocks <royrocks13@gmail.com>
pkgname=tuxpaint
pkgver=0.9.21
pkgrel=1
pkgdesc="Tux Paint is a free drawing program designed for young children."
arch=('i686' 'x86_64')
url="http://www.tuxpaint.org"
license=('GPL')
depends=('python' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango' 'libpaper' 'librsvg')
source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz
desktop.patch)
md5sums=('a88401d1860648098eeed819cff038fa'
'8359a252d686bf0b91be9999af31d536')
build() {
cd $srcdir/$pkgname-$pkgver/src
patch -p0 < $srcdir/desktop.patch
mv tuxpaint.desktop2 tuxpaint.desktop
cd ../
make PREFIX=/usr || return 1
make PREFIX=/usr DESTDIR=$startdir/pkg CONFDIR=$pkgdir/etc MAN_PREFIX=$pkgdir/usr/share/man X11_ICON_PREFIX=$pkgdir/usr/share/pixmaps KDE_PREFIX="" KDE_ICON_PREFIX="" install
install -D -m 644 $srcdir/$pkgname-$pkgver/src/tuxpaint.desktop $pkgdir/usr/share/applications/tuxpaint.desktop
chmod -R 644 $pkgdir/usr/share/doc/tuxpaint-dev/*
chmod 755 $pkgdir/usr/share/doc/tuxpaint-dev/html
}