updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / copas / PKGBUILD
blob8d99dfba0a830c5480226de4ea4ffb0a23d17c9e
1 # Maintainer: Pierre Chapuis <catwell at archlinux dot us>
3 pkgname=copas
4 pkgver=1.1.6
5 pkgrel=2
6 pkgdesc='Lua dispatcher based on coroutines'
7 arch=('any')
8 url='http://www.keplerproject.org/copas/'
9 license=('MIT')
10 depends=('luasocket' 'coxpcall')
11 source=("https://github.com/downloads/keplerproject/$pkgname/$pkgname-$pkgver.tar.gz"
12         'LICENSE.txt')
13 md5sums=('104b4325a6187eeb4b139181b6477558'
14          '65fda3841b3c98680c61ad836b030a9c')
16 build() {
17   install -Dm0444 $srcdir/$pkgname-$pkgver/src/copas/copas.lua \
18    $pkgdir/usr/share/lua/5.1/copas.lua
19   install -Dm0644 $srcdir/LICENSE.txt \
20    $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt