On Mon, Apr 18, 2011 at 11:14:31AM +0200, Sebastien VINCENT 
<[email protected]> wrote:
> pkgname=pastebinit
> pkgver=1.2
> pkgrel=1
> pkgdesc="A software that lets you send anything you want directly to a 
> pastebin from the command line."
> depends=('python' 'configobj')

configobj already depends on python, right?

> makedepends=('asciidoc')
> groups=('apps-extra')
> archs=('i686' 'x86_64')
> sha1sums=('b7b2c948c953289645345430ce2ac826e62f5eec')
> Finclude launchpad
> 
> build()
> {
>       Fcd
>       Fexerel $pkgname usr/bin/$pkgname
>       Fmkdir /etc
>       Fcprel pastebin.d etc/pastebin.d/
>       a2x -f manpage pastebinit.xml || Fdie
>       Fmanrel $pkgname.1
>       cd po || Fdie
>       Fmake
>       Fmkdir /usr/share/locale
>       cp -a mo/* $Fdestdir/usr/share/locale/ || Fdie
> }

Ugh. :) If you know make, maybe consider contributing a Makefile for the
project, doing the installation by hand is indeed probably unavoidable,
but still a bit hackish.

The later if of course just a recommendation.

Attachment: pgpqWdjliVo6K.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to