Date: Thursday, August 4, 2022 @ 17:54:59
  Author: grawlinson
Revision: 1260279

archrelease: copy trunk to community-x86_64

Added:
  reapack/repos/community-x86_64/
  reapack/repos/community-x86_64/PKGBUILD
    (from rev 1260278, reapack/trunk/PKGBUILD)
  reapack/repos/community-x86_64/reapack.install
    (from rev 1260278, reapack/trunk/reapack.install)

-----------------+
 PKGBUILD        |   75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 reapack.install |    9 ++++++
 2 files changed, 84 insertions(+)

Copied: reapack/repos/community-x86_64/PKGBUILD (from rev 1260278, 
reapack/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-04 17:54:59 UTC (rev 1260279)
@@ -0,0 +1,75 @@
+# Maintainer: George Rawlinson <grawlin...@archlinux.org>
+
+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
+}

Copied: reapack/repos/community-x86_64/reapack.install (from rev 1260278, 
reapack/trunk/reapack.install)
===================================================================
--- community-x86_64/reapack.install                            (rev 0)
+++ community-x86_64/reapack.install    2022-08-04 17:54:59 UTC (rev 1260279)
@@ -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
+}

Reply via email to