# Compiling Time: 0.09 SBU
# Maintainer: Baste <baste@frugalware.org>

pkgname=pastebinit
pkgver=1.5
pkgrel=2
pkgdesc="A software that lets you send anything you want directly to a pastebin from the command line."
depends=('python' 'configobj')
makedepends=('asciidoc' 'docbook-xsl')
groups=('apps-extra')
archs=('x86_64')
sha1sums=('5257e0e0409ca0675a7f38c34190d548255a5ec1')
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
}