summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36bb8a8aea23a8d4646e266a4eadbe87683132c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Josef Vybíhal (josef.vybihal@gmail.com)
# Dependencies come from PKGBUILD by ftonello
# This package installs into /opt and symlinks to /usr

pkgname=t7-daw
pkgver=7.2.1
pkgrel=6
pkgdesc="The world's best, fully featured, completely unlimited free daw for all music creators."
arch=('x86_64')
url="https://www.tracktion.com/products/t7-daw"
#license=('custom:xx')
depends=(
  'alsa-lib' 'libgl' 'desktop-file-utils' 'shared-mime-info' 'curl' 'libx11'
  'libxext' 'libxinerama' 'freetype2' 'libcurl-gnutls')
optdepends=(
  'jack: A low-latency audio server'
  'ladspa-plugins: A set of ladspa plugins'
)
provides=("t7-daw=${pkgver}" "tracktion-7=${pkgver}")
conflicts=("tracktion-7")
options=('!emptydirs' '!strip')
install=${pkgname}.install
replaces=("tracktion-7-free-daw")
source=("TracktionInstall_7_Linux_64Bit_latest.deb::https://cdn.tracktion.com/file/tracktiondownload/t7/TracktionInstall_7_Linux_64Bit_latest.deb")
sha256sums=('904b120c2d597a2f504854a3a61883ca2b1f1066fb921aca423fdb42976d8db0')

package() {
  msg2 "Extracting the data.tar.lzma"
  tar -x --lzma -f data.tar.lzma -C "${pkgdir}"
  cd "${pkgdir}"
  mv usr/share/doc/tracktion7 usr/share/doc/t7-daw
  # Uncomment if you do not like binary called with capital T
  #ln -sf Tracktion7 usr/bin/tracktion7
  #ln -sf Tracktion7 usr/bin/t7-daw
}