# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=curlpaste
pkgver=1.2.1
pkgrel=2
pkgdesc='Utility to post text files to a number of pastebin sites using curl and Lua.'
arch=('any')
url='http://github.com/Kiwi/curlpaste/tree/master'
license=('MIT')
depends=('curl' 'lua')
provides=('curlpaste-git')
backup=('etc/curlpaste.conf')
source=("http://kiwi.github.com/curlpaste/curlpaste-${pkgver}.tar.gz")
md5sums=('f0df3a17e99414e3054671c7bbe32863')

package() {
  cd "${srcdir}/${pkgname}"
 
  install -Dm0755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  install -Dm0644 "${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
} 

