You are not logged in.

#1 2005-02-06 23:37:59

moret
Member
From: València, Països Catalans
Registered: 2005-01-25
Posts: 26

[UPDATED] TuxPaint 0.9.14

I made the Tuxpaint pkgbuild, it installs icons for KDE and Gnome.

<b>Now, you don't need Makefile file!</b>

# Contributor: Sergio Jovani Guzman <moret@paretux.org>

 pkgname=tuxpaint
 pkgver=0.9.14
 pkgrel=3
 pkgdesc="Tux Paint is a free drawing program designed for young children."
 url="http://www.newbreedsoftware.com/tuxpaint/"
 depends=(sdl sdl_ttf sdl_mixer sdl_image libpng gettext freetype2 netpbm libvorbis xorg)
 source=(http://dl.sourceforge.net/tuxpaint/$pkgname-$pkgver.tar.gz)
 md5sums=('0b7522c1b3672d5c233f7bbc772c8dec')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
   make PREFIX=/usr 
   KDE_PREFIX=/opt/kde/share/applnk 
   KDE_ICON_PREFIX=/opt/kde/share/icons 
   GNOME_PREFIX=/opt/gnome 
   CONFDIR=/etc/tuxpaint || return 1
   make PREFIX=$startdir/pkg/usr 
   KDE_PREFIX=$startdir/pkg/opt/kde/share/applnk 
   KDE_ICON_PREFIX=$startdir/pkg/opt/kde/share/icons 
   GNOME_PREFIX=$startdir/pkg/opt/gnome 
   CONFDIR=$startdir/pkg/etc/tuxpaint install
 }

Bye!!


ArchLinux
2.6.11.7-ARCH
KDE 3.4
ADSL 512/128

Offline

#2 2005-02-07 05:57:34

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [UPDATED] TuxPaint 0.9.14

Works without providing a makefile too

-> http://bbs.archlinux.org/viewtopic.php?p=65665#65665

I've made a PKGBUILD. All you need to do is to override the PREFIX setting at make

make PREFIX=/opt/kde
make PREFIX=$startdir/pkg/opt/kde install

// STi


Ability is nothing without opportunity.

Offline

#3 2005-02-07 06:14:48

moret
Member
From: València, Països Catalans
Registered: 2005-01-25
Posts: 26

Re: [UPDATED] TuxPaint 0.9.14

Why do you choose /opt/kde if it is not a KDE program? I think your PKGBUILD does not install Gnome and KDE icon.

Bye!!  big_smile


ArchLinux
2.6.11.7-ARCH
KDE 3.4
ADSL 512/128

Offline

#4 2005-02-07 06:38:21

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [UPDATED] TuxPaint 0.9.14

You're right, it doesnt. But it can be changed easily. I've chosen /opt/kde in the beginning since it seemed to be a kdeapp, what is proven to be wrong.

Doesn't change anything on the fact that there's no need to provide a Makefile.

I'd also suggest you to use namcap on your pkgbuild, since you have some already satisfied depends in the depends list.

// STi


Ability is nothing without opportunity.

Offline

#5 2006-06-07 16:17:18

yoburtu
Member
Registered: 2006-06-07
Posts: 103

Re: [UPDATED] TuxPaint 0.9.14

Hello,

I want to install the tuxpaint package on my Arch, but I don't find:

$ pacman -Ss tuxpaint
$

I think that I have configured correctly the community repository.

What can I do?

Best regards.

Offline

#6 2006-06-07 18:40:13

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: [UPDATED] TuxPaint 0.9.14

It is in unsupported, not in community.
You have to download the files manually (or use aurscripts but it is in unsupported to) and build the package with makepkg and install it.

Offline

Board footer

Powered by FluxBB