# Template file for 'wgetpaste'
pkgname=wgetpaste
version=2.18
revision=1
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"

noarch=yes

Add_dependency full bash
Add_dependency full wget

do_install()
{
        vinstall ${pkgname} 755 usr/bin
        vinstall _${pkgname} 644 usr/share/zsh/site-functions
        vinstall ${FILESDIR}/${pkgname}.example 644 \
		usr/share/examples/${pkgname} ${pkgname}.conf.example
}