blob: 1d56b35a16230b81909dc4fe1bb35e060f3ab928 (
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
|
# Maintainer: John Gleezowood <psyrccio@gmail.com>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Maintainer: Clarence <xjh.azzbcc@gmail.com>
_pkgname=ocenaudio
pkgname="$_pkgname-bin"
pkgver=3.14.7
pkgrel=1
pkgdesc="Cross-platform, easy to use, fast and functional audio editor"
arch=('x86_64')
url="https://www.ocenaudio.com/"
license=('custom')
depends=('hicolor-icon-theme' 'jack' 'libpulse' 'qt6-base')
provides=("$_pkgname")
conflicts=("$_pkgname")
sha256sums=('243c70bc31aa011c714ad78cf16ddaf638d91b62145b50abbfe87a0877637f76')
source=("${_pkgname}-${pkgver}_x86_64.tar.zst::https://www.ocenaudio.com/downloads/index.php/ocenaudio_archlinux.pkg.tar.zst?version=v${pkgver}")
build() {
echo "ocenaudio "$pkgver
}
package() {
cp -rnf ${srcdir}/* ${pkgdir}/
rm -f ${pkgdir}/${_pkgname}-${pkgver}_x86_64.tar.zst
install -dm755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/licenses"
install -Dm644 "${pkgdir}/opt/$_pkgname/bin/ocenaudio_license.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
ln -sf "/opt/$_pkgname/bin/${_pkgname}" "${pkgdir}/usr/bin"
sed -i 's|^Exec=/opt/ocenaudio/bin|Exec=/usr/bin|' "$pkgdir/usr/share/applications/ocenaudio.desktop"
rm -f "${pkgdir}/opt/$_pkgname/bin/ocenaudio_license.txt"
}
|