diff options
author | Popolon | 2021-04-18 10:14:07 +0200 |
---|---|---|
committer | Popolon | 2021-04-18 10:14:07 +0200 |
commit | 5710d85be94d02368c9d079686e99933a088cdef (patch) | |
tree | 63b7348b884baff7e1575ccbe4ca07ffc2fda79e | |
parent | 6525e64e1840bf4d20bae7cab8044ffe01c7c27c (diff) | |
download | aur-5710d85be94d02368c9d079686e99933a088cdef.tar.gz |
Add installation of includes, reusing rules of current vcvrack package, allowing then, to compile modules
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 15 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = vcvrack-git pkgdesc = Open-source virtual Eurorack DAW - pkgver = 1.1.6.r17.ge334902e - pkgrel = 2 + pkgver = 1.1.6.r18.ga5fc5891 + pkgrel = 3 url = https://github.com/VCVRack/Rack arch = i686 arch = x86_64 @@ -3,8 +3,8 @@ # Contributor: Miroslav Koškár pkgname=vcvrack-git -pkgver=1.1.6.r17.ge334902e -pkgrel=2 +pkgver=1.1.6.r18.ga5fc5891 +pkgrel=3 pkgdesc="Open-source virtual Eurorack DAW" url="https://github.com/VCVRack/Rack" license=(BSD) @@ -86,6 +86,17 @@ package() { install -D -m644 -t "$pkgdir/usr/share/licenses/${pkgname%-git}" LICENSE* install -D -m755 -t "$pkgdir/opt/${pkgname%-git}" Rack install -d "$pkgdir/opt/${pkgname%-git}/plugins" + + # headers (required for plugins) + for _path in {app,dsp,engine,plugin,simd,ui,widget}; do + install -vDm 644 "include/$_path/"* \ + -t "$pkgdir/usr/include/${pkgname%-git}/$_path/" + done + install -vDm 644 include/*.{h,hpp} -t "$pkgdir/usr/include/${pkgname%-git}/" + install -vDm 644 dep/include/*.h -t "$pkgdir/usr/include/${pkgname%-git}/dep" + # Makefile snippets required for plugins + install -vDm 644 {arch,compile,dep,plugin}.mk -t "$pkgdir/usr/share/${pkgname%-git}" + install -vD -m644 "$srcdir/vcvrack.desktop" -t "$pkgdir/usr/share/applications/" cp -dr --preserve=mode -t "$pkgdir/opt/${pkgname%-git}" res } |