updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / luaosc / PKGBUILD
blobdea0df00b28289f8f9efe7887ef152d92651b92a
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=luaosc
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="A Wrapper module completely written in Lua that implements the functionality of the OpenSoundControl protocol."
7 arch=(any)
8 url="http://luaforge.net/projects/luaosc/"
9 license=('GPL')
10 depends=('lpack' 'luasocket')
11 source=("http://luaforge.net/frs/download.php/3916/$pkgname-$pkgver.tar.gz")
12 md5sums=('47e38d392fee3e374946b6096d998665')
14 build() {
15   return 0
18 package() {
19   cd "$srcdir/$pkgname-$pkgver"
21   # library
22   install -d "$pkgdir/usr/share/lua/5.1/osc"
23   install -Dm644 src/osc.lua "$pkgdir/usr/share/lua/5.1"
24   install -Dm644 src/osc/*.lua "$pkgdir/usr/share/lua/5.1/osc"
26   # samples
28   install -d "$pkgdir/usr/share/$pkgname/samples"
29   install -Dm644 samples/* "$pkgdir/usr/share/$pkgname/samples"
32 # vim:set ts=2 sw=2 et: