2015-08-31 09:58:33 +02:00
|
|
|
# Template file for 'pastebinit'
|
|
|
|
pkgname=pastebinit
|
2016-03-01 20:04:10 +01:00
|
|
|
version=1.5
|
2016-04-30 08:16:45 +02:00
|
|
|
revision=2
|
2016-03-01 20:04:10 +01:00
|
|
|
noarch=yes
|
2015-08-31 09:58:33 +02:00
|
|
|
hostmakedepends="asciidoc"
|
2015-09-04 00:52:05 +02:00
|
|
|
depends="python3.4"
|
2015-08-31 09:58:33 +02:00
|
|
|
short_desc="Pastebin command-line client"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
2016-03-01 20:04:10 +01:00
|
|
|
license="GPL-2"
|
2015-08-31 09:58:33 +02:00
|
|
|
homepage="https://launchpad.net/pastebinit"
|
|
|
|
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
|
2016-03-01 20:04:10 +01:00
|
|
|
checksum=0d931dddb3744ed38aa2d319dd2d8a2f38a391011ff99db68ce7c83ab8f5b62f
|
2015-08-31 09:58:33 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-04-30 08:16:45 +02:00
|
|
|
vcopy pastebin.d usr/share/pastebin.d/
|
2015-08-31 09:58:33 +02:00
|
|
|
vcopy po/mo usr/share/locale
|
|
|
|
}
|
|
|
|
|