makedeb
Digital Audio Workstation
Viewing /PKGBUILD
.
Click here to go back to the Git tree for reaper.
# Maintainer: hiddeninthesand <hiddeninthesand at pm dot me>
pkgname='reaper'
_gitname='reaper'
provides=('reaper')
pkgver='6.75'
pkgrel='1'
pkgdesc="Digital Audio Workstation"
arch=('x86_64')
license=('Commercial')
url='https://www.reaper.fm'
depends=('libc6' 'alsa-base' 'libgdk3.0-cil' 'ffmpeg')
source=("${url}/files/${pkgver::1}.x/reaper${pkgver//.}_linux_x86_64.tar.xz"
"reaper.desktop")
conflicts=("${_gitname}-git" "${_gitname}")
b2sums=('8ba3079da95d955df02a41eadd30e95b7074f085e9dfa537c3d2f8ab8c03a93aaf47488cba2491599af69e3a5b113429731b0eaa5115b86f6c18a0660cf11550'
'595af3a47add119aeac06a96b4bf5ad0859cce77ac0e0b334307fd58c1a3cfb7123c4841bcb78c5feac2bb3e39d5f44387009c7792e90a0c8b65d0ebbe750d04')
package() {
# install desktop entry
install -Dm644 "reaper.desktop" "${pkgdir}/usr/share/applications/reaper.desktop"
cd "reaper_linux_x86_64"
install -Dm644 "REAPER/Resources/main.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/reaper.png"
# install binaries
install -d "${pkgdir}/opt/REAPER"
cp -ar "REAPER" "${pkgdir}/opt/"
# symlink binaries to /usr/bin
install -d "${pkgdir}/usr/bin"
ln -s "/opt/REAPER/reaper" "${pkgdir}/usr/bin/reaper"
}