[Frugalware-devel] [New Package] Pastebinit

Miklos Vajna vmiklos at frugalware.org
Tue Apr 19 00:36:02 CEST 2011


On Mon, Apr 18, 2011 at 11:14:31AM +0200, Sebastien VINCENT <svincent.fw at gmail.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: </pipermail/attachments/20110419/cd6f13a9/attachment.asc>


More information about the Frugalware-devel mailing list