1 # maintainer: Francois Boulogne <fboulogne at april dot org>
6 pkgdesc="Send anything you want directly to a pastebin from the command line"
8 url="http://launchpad.net/pastebinit"
10 depends=("python2" "python-configobj" )
11 makedepends=("asciidoc")
12 source=(http://launchpad.net/pastebinit/trunk/${pkgver}/+download/pastebinit-${pkgver}.tar.gz)
13 md5sums=( "676dca696755bb92dd485a2246b1d75d")
16 cd ${srcdir}/${pkgname}-${pkgver}
17 install -d $pkgdir/usr/{bin,share/man/man1,share/locale} $pkgdir/etc
19 sed -i -e "s|#!/usr/bin/python$|#!/usr/bin/python2|" pastebinit
20 install -m 755 pastebinit $pkgdir/usr/bin
21 cp -a pastebin.d $pkgdir/usr/share
22 a2x -f manpage pastebinit.xml
23 install -m 644 pastebinit.1 $pkgdir/usr/share/man/man1
26 cp -a mo/* $pkgdir/usr/share/locale