32 lines
737 B
Bash
32 lines
737 B
Bash
# Template file for 'pastebinit'
|
|
pkgname=pastebinit
|
|
version=1.5
|
|
revision=2
|
|
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/pastebin.d/
|
|
vcopy po/mo usr/share/locale
|
|
}
|
|
|