void-packages/srcpkgs/pastebinit/template
2016-03-01 14:04:10 -05:00

32 lines
738 B
Bash

# Template file for 'pastebinit'
pkgname=pastebinit
version=1.5
revision=1
noarch=yes
hostmakedepends="asciidoc"
depends="python3.4"
short_desc="Pastebin command-line client"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="https://launchpad.net/pastebinit"
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=0d931dddb3744ed38aa2d319dd2d8a2f38a391011ff99db68ce7c83ab8f5b62f
do_build() {
a2x -f manpage pastebinit.xml
cd po && make
}
do_install() {
vbin pastebinit
vman pastebinit.1
for util in pbget pbput pbputs; do
vbin utils/${util}
vman utils/${util}.1
done
vcopy pastebin.d usr/share/pastebint.d/
vcopy po/mo usr/share/locale
}