d774f15fcb
Fix: #27243
30 lines
730 B
Bash
30 lines
730 B
Bash
# Template file for 'pastebinit'
|
|
pkgname=pastebinit
|
|
version=1.5.1
|
|
revision=1
|
|
hostmakedepends="asciidoc gettext"
|
|
depends="python3-distro"
|
|
short_desc="Pastebin command-line client"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
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=30850b9dc6b3e9105321cee159d491891b3d3c03180440edffa296c7e1ac0c41
|
|
|
|
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
|
|
}
|