diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-03-16 15:59:35 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-16 15:59:35 +0000 |
| commit | 80589210e36fb6ef81782fcc40e6497fb9912d2e (patch) | |
| tree | 5bdf100beb6db693f95dd07b181dd1950c2b8319 /lua-abletonlink | |
| download | aur-80589210e36fb6ef81782fcc40e6497fb9912d2e.tar.gz aur-80589210e36fb6ef81782fcc40e6497fb9912d2e.zip | |
initial commit
Diffstat (limited to 'lua-abletonlink')
| -rw-r--r-- | lua-abletonlink/.SRCINFO | 30 | ||||
| -rw-r--r-- | lua-abletonlink/PKGBUILD | 63 |
2 files changed, 93 insertions, 0 deletions
diff --git a/lua-abletonlink/.SRCINFO b/lua-abletonlink/.SRCINFO new file mode 100644 index 0000000..8127b46 --- /dev/null +++ b/lua-abletonlink/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = lua-abletonlink + pkgdesc = Lightweight wrapper of the Ableton Link C API (abl_link) + pkgver = 1.0.1 + pkgrel = 1 + url = https://git.s-ol.nu/lua-abletonlink/-/ + arch = x86_64 + license = MIT + makedepends = lua + makedepends = lua51 + makedepends = lua52 + makedepends = lua53 + makedepends = luarocks + source = git+https://git.s-ol.nu/lua-abletonlink.git#tag=v1.0.1 + source = git+https://github.com/Ableton/link.git + source = git+https://github.com/chriskohlhoff/asio.git + sha256sums = 39c57ef04036e60467fc1c62d1a85c8951b08929574770a574853aba7599c921 + sha256sums = SKIP + sha256sums = SKIP + +pkgname = lua-abletonlink + depends = lua + +pkgname = lua53-abletonlink + depends = lua53 + +pkgname = lua52-abletonlink + depends = lua52 + +pkgname = lua51-abletonlink + depends = lua51 diff --git a/lua-abletonlink/PKGBUILD b/lua-abletonlink/PKGBUILD new file mode 100644 index 0000000..d1c553b --- /dev/null +++ b/lua-abletonlink/PKGBUILD @@ -0,0 +1,63 @@ +# Maintainer: Sol Bekic <s+aur at s-ol dot nu> + +_rockname=abletonlink +pkgbase=lua-$_rockname +pkgname=("lua-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname") +pkgver=1.0.1 +_rockrel=1 +pkgrel=1 +pkgdesc='Lightweight wrapper of the Ableton Link C API (abl_link)' +arch=(x86_64) +url="https://git.s-ol.nu/lua-abletonlink/-/" +license=(MIT) +depends=() +makedepends=(lua + lua51 + lua52 + lua53 + luarocks) +source=("git+https://git.s-ol.nu/lua-$_rockname.git#tag=v$pkgver" + "git+https://github.com/Ableton/link.git" + "git+https://github.com/chriskohlhoff/asio.git") +sha256sums=('39c57ef04036e60467fc1c62d1a85c8951b08929574770a574853aba7599c921' + 'SKIP' + 'SKIP') + +prepare() { + cd "$srcdir/lua-$_rockname" + git submodule init + git config submodule.link.url "$srcdir/link" + + cd link + git submodule init + git config submodule.modules/asio-standalone.url "$srcdir/asio" + + cd .. + git -c protocol.file.allow=always submodule update --recursive +} + +_package() { + cd "$srcdir/lua-$_rockname" + luarocks --lua-version="$1" --tree="$pkgdir/usr/" \ + make --deps-mode=none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec" +} + +package_lua-abletonlink() { + _package 5.4 + depends+=(lua) +} + +package_lua51-abletonlink() { + _package 5.1 + depends+=(lua51) +} + +package_lua52-abletonlink() { + _package 5.2 + depends+=(lua52) +} + +package_lua53-abletonlink() { + _package 5.3 + depends+=(lua53) +} |
