# Template file for 'wgetpaste'
pkgname=wgetpaste
version=2.22
revision=1
makedepends="bash wget"
short_desc="A script that automates pasting to a number of pastebin services"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wgetpaste.zlin.dk/"
license="Public domain"
distfiles="http://wgetpaste.zlin.dk/$pkgname-$version.tar.bz2"
checksum=a903d4b93e487046226ad77037a28cb5f6cf2465bf212e5edf568c4135f6fe05

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
}

wgetpaste_package() {
	depends="${makedepends}"
	noarch="yes"
	pkg_install() {
		vmove all
	}
}
