updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / lua-midi / PKGBUILD
blob38b36e3c80630a474433675c1041e713a1ae8dfd
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=MIDI
4 pkgname=lua-midi
5 pkgver=5.5
6 pkgrel=2
7 pkgdesc="Lua module for reading, writing and manipulating MIDI data"
8 arch=(any)
9 url="http://www.pjb.com.au/comp/lua/MIDI.html"
10 license=('GPL')
11 depends=('lua' 'luaposix')
12 optdepends=('lua-datadumper: test')
13 source=("http://www.pjb.com.au/comp/lua/$_pkg-$pkgver.tar.gz")
14 md5sums=('9dc2628f5302ed9be72fab88e7677b86')
16 build() {
17   return 0
20 package() {
21   cd "$srcdir/$_pkg-$pkgver"
23   # library
24   install -Dm644 $_pkg.lua "$pkgdir/usr/share/lua/5.1/$_pkg.lua"
26   # docs and examples
27   install -Dm644 doc/$_pkg.html "$pkgdir/usr/share/doc/$pkgname/$_pkg.html"
28   install -Dm644 test/test_mi.lua "$pkgdir/usr/share/$pkgname/examples/test_mi.lua"
31 # vim:set ts=2 sw=2 et: