30 lines
739 B
Bash
30 lines
739 B
Bash
# Template file for 'pastebinit'
|
|
pkgname=pastebinit
|
|
version=1.5
|
|
revision=4
|
|
hostmakedepends="asciidoc gettext"
|
|
depends="python3"
|
|
short_desc="Pastebin command-line client"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
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
|
|
make -C po
|
|
}
|
|
|
|
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
|
|
}
|