Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Reaper 6.18 using this pkgbuild. Download it to a temporary folder, run `makepkg -si --clean`
pkgname=reaper-bin
pkgver=6.18
pkgrel=1
conflicts=(reaper)
pkgdesc="Digital Audio Workstation"
url="http://www.reaper.fm"
arch=('x86_64')
license=('custom')
depends=('gtk3' 'desktop-file-utils' 'xdg-utils')
optdepends=('jack' 'pulseaudio')
source=("http://reaper.fm/files/6.x/reaper${pkgver//.}_linux_x86_64.tar.xz")
sha256sums=('c2a5c8d87198fdee922982d2762a866a898a1ba9ee0f7234e35c9272fed95550')
package() {
XDG_DATA_HOME="${srcdir}/desktop" sh "${srcdir}/reaper_linux_x86_64/install-reaper.sh" --install "${pkgdir}/opt" --integrate-user-desktop
sed -i 's#^Exec.*#Exec="/opt/REAPER/reaper" %F#g' "${srcdir}/desktop/applications/cockos-reaper.desktop"
install -D -m644 "${srcdir}/desktop/applications/cockos-reaper.desktop" "${pkgdir}/usr/share/applications/cockos-reaper.desktop"
install -d "${pkgdir}/usr/share/icons/hicolor/256x256/apps"
install -m644 "${srcdir}/desktop/icons/hicolor/256x256/apps/"*.png "${pkgdir}/usr/share/icons/hicolor/256x256/apps"
install -D -m644 "${srcdir}/desktop/mime/packages/application-x-reaper.xml" "${pkgdir}/usr/share/mime/packages/application-x-reaper.xml"
rm "${pkgdir}/opt/REAPER/uninstall-reaper.sh"
mkdir -p "${pkgdir}/usr/bin"
ln -s /opt/REAPER/reaper "${pkgdir}/usr/bin/reaper"
mkdir -p "${pkgdir}/usr/share/licenses/reaper"
ln -s /opt/REAPER/license.txt "${pkgdir}/usr/share/licenses/reaper/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment