Date: Thursday, August 4, 2022 @ 17:54:07 Author: grawlinson Revision: 1260278
addpkg: reapack 1.2.4.1-1 Added: reapack/ reapack/repos/ reapack/trunk/ reapack/trunk/PKGBUILD reapack/trunk/reapack.install -----------------+ PKGBUILD | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ reapack.install | 9 ++++++ 2 files changed, 84 insertions(+) Added: reapack/trunk/PKGBUILD =================================================================== --- reapack/trunk/PKGBUILD (rev 0) +++ reapack/trunk/PKGBUILD 2022-08-04 17:54:07 UTC (rev 1260278) @@ -0,0 +1,75 @@ +# Maintainer: George Rawlinson <[email protected]> + +pkgname=reapack +pkgver=1.2.4.1 +pkgrel=1 +pkgdesc='Package manager for the Reaper DAW' +arch=('x86_64') +url='https://reapack.com' +license=('GPL3' 'LGPL3') +depends=( + 'reaper' + 'libxml2' + 'curl' + 'sqlite' +) +makedepends=( + 'git' + 'cmake' + 'boost' + 'openssl' + 'zlib' + 'ruby' + 'php' + 'catch2' +) +install='reapack.install' +_commit='dcbbf2410cb50f15ba6b2ea8a79475531a9edd4b' +source=( + "$pkgname::git+https://github.com/cfillion/reapack#commit=$_commit" + 'github.com-justinfrankel-wdl::git+https://github.com/justinfrankel/WDL' + 'github.com-justinfrankel-reaper-sdk::git+https://github.com/justinfrankel/reaper-sdk' +) +b2sums=('SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd "$pkgname" + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd "$pkgname" + + # prepare git submodule(s) + git submodule init + git config submodule.vendor/WDL.url "$srcdir/github.com-justinfrankel-wdl" + git config submodule.vendor/reaper-sdk.url "$srcdir/github.com-justinfrankel-reaper-sdk" + git submodule update +} + +build() { + cd "$pkgname" + + cmake \ + -B build \ + -DCMAKE_BUILD_TYPE=Release + + cmake --build build +} + +check() { + make -C "$pkgname/build" test +} + +package() { + cd "$pkgname" + + # plugin + install -vDm755 -t "$pkgdir/usr/lib/$pkgname" "build/reaper_reapack-$CARCH.so" + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md +} Added: reapack/trunk/reapack.install =================================================================== --- reapack/trunk/reapack.install (rev 0) +++ reapack/trunk/reapack.install 2022-08-04 17:54:07 UTC (rev 1260278) @@ -0,0 +1,9 @@ +post_install(){ + cat <<- EOF + +For REAPER to pick up the plugin, it must be symlinked into REAPER's user directory. + +ln -s /usr/lib/reapack/reaper_reapack-x86_64.so ~/.config/REAPER/UserPlugins/ + +EOF +}
