makedeb


reaper 6.70-1


Digital Audio Workstation

Viewing /PKGBUILD.

View raw.

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.70'
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=('8479d2dba09c36e9e7d2c8e4952d98307debc16d7f413995cc2c6135d99eeffe2db33dcb0a5e06a9df394b94d19cb476270661a9deded4108807eca08c360868'
        '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"
}