diff options
author | Nil Geisweiller | 2022-04-07 10:10:18 +0300 |
---|---|---|
committer | Nil Geisweiller | 2022-04-07 10:10:18 +0300 |
commit | ac397db1079ed771302e173d67c8449d7012331e (patch) | |
tree | c859642a0e2d0e72e379e4fc6e20cd91df11a327 | |
download | aur-ac397db1079ed771302e173d67c8449d7012331e.tar.gz |
Initial configuration for Ctrlr (no panels yet)
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 48 |
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c3c1e8b23d8c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ctrlr + pkgdesc = Control any midi enabled hardware: synthesizers, drum machines, samplers, effects. Create custom user interfaces. Host them as VST or AU plugins in your favorite daws. + pkgver = 5.4.16 + pkgrel = 1 + url = https://ctrlr.org + arch = x86_64 + groups = pro-audio + license = BSD + depends = binutils + provides = ctrlr + conflicts = ctrlr + source = Ctrlr-x86_64-5.4.16.sh::https://ctrlr.org/nightly/Ctrlr-x86_64-5.4.16.sh + sha256sums = 34d0786a8911650dd47e4c139fdcfd179d85167bb1f7307b418d0cbf8e63e087 + +pkgname = ctrlr diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..438acd189692 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Nil Geisweiller <ngeiswei at the giant g> + +pkgname=ctrlr +pkgver=5.4.16 +pkgrel=1 +epoch= +pkgdesc="Control any midi enabled hardware: synthesizers, drum machines, samplers, effects. Create custom user interfaces. Host them as VST or AU plugins in your favorite daws." +arch=('x86_64') +url="https://ctrlr.org" +license=('BSD') +groups=('pro-audio') +depends=('binutils') +makedepends=() +checkdepends=() +optdepends=() +provides=('ctrlr') +conflicts=('ctrlr') +source=("Ctrlr-${arch}-${pkgver}.sh"::"https://ctrlr.org/nightly/Ctrlr-${arch}-${pkgver}.sh") +sha256sums=('34d0786a8911650dd47e4c139fdcfd179d85167bb1f7307b418d0cbf8e63e087') +validpgpkeys=() + +prepare() { + chmod a+x "Ctrlr-${arch}-${pkgver}.sh" +} + +build() { + ./"Ctrlr-${arch}-${pkgver}.sh" +} + +package() { + PREFIX="${pkgdir}/usr" + BINPATH="${PREFIX}/bin" + LIBPATH="${PREFIX}/lib" + VSTPATH="${LIBPATH}/vst" + + # Create local folders and copy binaries + mkdir -p "${BINPATH}" + mkdir -p "${VSTPATH}" + cp "Ctrlr/Ctrlr-${arch}" "${BINPATH}/${pkgname}" + cp "Ctrlr/libCtrlr-VST-${arch}.so" "${VSTPATH}/Ctrlr.so" + + # Create symbolic link libbfd-2.24-system.so, used by Ctrlr, + # to the last version of libbfd.so + CTRLR_LIBBFD_LINK="libbfd-2.24-system.so" + LIBBFD_PATH=$(ls /usr/lib/libbfd-?.??.so | sort -r | head -n1) + LIBBFD_NAME=$(basename ${LIBBFD_PATH}) + ln -s "${LIBBFD_NAME}" "${LIBPATH}/${CTRLR_LIBBFD_LINK}" +} |