2015-08-31 07:58:33 +00:00
|
|
|
# Template file for 'pastebinit'
|
|
|
|
pkgname=pastebinit
|
|
|
|
version=1.4.1
|
2015-09-03 22:52:05 +00:00
|
|
|
revision=2
|
2015-08-31 07:58:33 +00:00
|
|
|
hostmakedepends="asciidoc"
|
2015-09-03 22:52:05 +00:00
|
|
|
depends="python3.4"
|
2015-08-31 07:58:33 +00:00
|
|
|
short_desc="Pastebin command-line client"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="GPL-2, GPL-3"
|
|
|
|
homepage="https://launchpad.net/pastebinit"
|
|
|
|
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="39e3dcb98d2aa9d65f86c648c375ca75fa312fc773e568963e9aefffea0c9bf7"
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|