blob: 02ab44e4229fc74027fe979bbdd0e00d2bb93be4 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: AntheaLaffy <anthealaffy@gmail.com>
pkgname=mvsep-gui-bin
pkgver=1.3.0
pkgrel=1
pkgdesc="MVSEP GUI - Music separation desktop application (prebuilt binary)"
arch=('x86_64')
url="https://github.com/AntheaLaffy/mvsep-rs"
license=('Apache-2.0')
depends=('webkit2gtk' 'libappindicator-gtk3' 'librsvg' 'libvips' 'fuse2')
makedepends=()
optdepends=()
conflicts=('mvsep-gui')
replaces=('mvsep-gui')
backup=()
options=('!strip' '!debug')
install=
changelog=
source=("MVSEP_${pkgver}_amd64.AppImage::${url}/releases/download/v${pkgver}/MVSEP_${pkgver}_amd64.AppImage"
"mvsep-rs-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('7b65d530c84dcc65302bece7b8e27b242dad67ded49670b49c5f41d015f82a29'
'd7430664c1de1940399fae14afc57d9f88cd5e0bbe96eb9f5598850682bc8c63')
package() {
cd "${srcdir}"
install -Dm755 "MVSEP_${pkgver}_amd64.AppImage" "${pkgdir}/usr/bin/mvsep-gui"
install -d "${pkgdir}/usr/share/applications"
cat > "${pkgdir}/usr/share/applications/com.mvsep.app.desktop" <<EOF
[Desktop Entry]
Name=MVSEP
Comment=Music separation tool
Exec=mvsep-gui
Terminal=false
Type=Application
Icon=com.mvsep.app
Categories=AudioVideo;Audio;Utility;
Keywords=audio;separation;music;
EOF
cd "mvsep-rs-${pkgver}/src-tauri/icons"
install -d "${pkgdir}/usr/share/icons/hicolor/32x32/apps"
install -Dm644 "32x32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/com.mvsep.app.png"
install -d "${pkgdir}/usr/share/icons/hicolor/128x128/apps"
install -Dm644 "128x128.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/com.mvsep.app.png"
install -d "${pkgdir}/usr/share/icons/hicolor/256x256/apps"
install -Dm644 "128x128@2x.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/com.mvsep.app.png"
cd "${srcdir}/mvsep-rs-${pkgver}"
install -d "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
}
|