1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
pkgname=luajit-symlinks pkgver=1 pkgrel=1 pkgdesc='Runs luajit if lua5.1 is called' arch=('any') depends=('luajit') provides=('lua51') conflicts=('lua51') package() { install -dm755 "$pkgdir/usr/bin" cd "$pkgdir/usr/bin" ln -s luajit lua5.1 install -dm755 "$pkgdir/usr/include" cd "$pkgdir/usr/include" ln -s luajit-2.1 lua5.1 }