blob: 04d46e25475a509eb2e48b0440d6b797c0fdc20b (
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
36
37
38
|
# Maintainer: John Gleezowood <psyrccio@gmail.com>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=ocenaudio
pkgname="$_pkgname"
pkgver=3.7.12
pkgrel=1
pkgdesc="Cross-platform, easy to use, fast and functional audio editor"
arch=('i686' 'x86_64')
url="http://www.ocenaudio.com/"
license=('custom')
depends=('hicolor-icon-theme' 'jack' 'libpulse' 'qt5-base')
provides=("$_pkgname")
conflicts=("$_pkgname")
sha256sums_i686=('1178e481b95dcdb233bd41bad544f757e23ba029f02ce29a4bca3b224b1ea538')
sha256sums_x86_64=('7566fb0a4eccae2142574c557b219d32944c9dae94745ee0366c9e53fabb4adc')
source_i686=("${_pkgname}-${pkgver}_i686.deb::http://www.ocenaudio.com/downloads/index.php/ocenaudio_debian32.deb?version=${pkgver}")
source_x86_64=("${_pkgname}-${pkgver}_x86_64.tar.xz::http://www.ocenaudio.com/downloads/index.php/ocenaudio_archlinux.pkg.tar.xz?version=${pkgver}")
build() {
echo "ocenaudio "$pkgver
}
package() {
if [ $CARCH == "i686" ]; then
tar -xJf ${srcdir}/data.tar.xz -C "${pkgdir}"
install -dm755 "${pkgdir}/usr/bin"
ln -sf "/opt/$_pkgname/bin/${_pkgname}" "${pkgdir}/usr/bin"
rm -rf "${pkgdir}/var"
else
cp -rLnf ${srcdir}/* ${pkgdir}/
rm -f ${pkgdir}/${_pkgname}-${pkgver}_x86_64.tar.xz
fi
install -dm755 "${pkgdir}/usr/share/licenses"
install -Dm644 "${pkgdir}/opt/$_pkgname/bin/ocenaudio_license.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
rm -f "${pkgdir}/opt/$_pkgname/bin/ocenaudio_license.txt"
}
|