# Template file for 'pastebinit' pkgname=pastebinit version=1.6.2 revision=1 hostmakedepends="asciidoc gettext" depends="python3-distro" short_desc="Pastebin command-line client" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://phab.lubuntu.me/source/pastebinit/" distfiles="$DEBIAN_SITE/main/p/$pkgname/${pkgname}_$version.orig.tar.gz" checksum=b7f63207bfb66eca0e77052283815346d3ad9de2b30aa9f68b74521f0b54940a 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 }