26 lines
942 B
Text
26 lines
942 B
Text
|
# Template file for 'wgetpaste'
|
||
|
pkgname=wgetpaste
|
||
|
version=2.18
|
||
|
distfiles="http://wgetpaste.zlin.dk/$pkgname-$version.tar.bz2"
|
||
|
short_desc="A script that automates pasting to a number of pastebin services"
|
||
|
maintainer="Robert Djubek <envy1988@gmail.com>"
|
||
|
homepage="http://wgetpaste.zlin.dk/"
|
||
|
license="Public domain"
|
||
|
checksum=95ee46eac37ca74ce960c1726afc19f4a1dde4d1875ac860fdc5e45d3cb05d3e
|
||
|
long_desc="
|
||
|
A script that automates pasting to a number of pastebin services"
|
||
|
|
||
|
Add_dependency full bash
|
||
|
Add_dependency full wget
|
||
|
Add_dependency full sed
|
||
|
|
||
|
do_install()
|
||
|
{
|
||
|
install -Dm755 ${pkgname} ${DESTDIR}/usr/bin/${pkgname}
|
||
|
install -Dm644 _${pkgname} ${DESTDIR}/usr/share/zsh/site-functions/_${pkgname}
|
||
|
install -Dm644 ${FILESDIR}/${pkgname}.example \
|
||
|
${DESTDIR}/usr/share/${pkgname}/${pkgname}.example
|
||
|
sed -n '2,5p' ${pkgname} > LICENSE
|
||
|
install -Dm644 LICENSE ${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
|
||
|
}
|