summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 664a75b881b2e3961e6a8f4ae46e69b22c952b65 (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
# Maintainer: HitCoder <hitcoder9768@gmail.com>

pkgname=vlabeler-bin
pkgver=1.3.1
pkgrel=1
pkgdesc='Open source voice labeling application'
arch=('x86_64')
license=('Apache')
url='https://github.com/sdercolin/vlabeler'
depends=('java-runtime=17')
makedepends=('java-environment=17')
source=("https://github.com/sdercolin/vlabeler/releases/download/1.3.1/vlabeler-1.3.1-amd64.deb"
        "vLabeler.desktop")
sha256sums=('d11850bb5040a5ca8a01bba62c20652caa7b62175b2b3230eb2321db00bd7771'
           'cb3e245702507f620545e1d442792427cdbb8a51d2c6f185238e9d3114398b76')

package() {
    cd "$srcdir"

    tar -xf data.tar.zst -C "$pkgdir"

    mkdir -p "$pkgdir/usr/bin"
    ln -sf "/opt/vlabeler/bin/vLabeler" "$pkgdir/usr/bin/vLabeler"

    # icon
    mkdir -p "$pkgdir/usr/share/pixmaps"
    ln -sf "/opt/vlabeler/lib/vLabeler.png" "$pkgdir/usr/share/pixmaps/vlabeler.png"

    # desktop file
    install -Dm644 "$srcdir/vLabeler.desktop" "$pkgdir/usr/share/applications/vLabeler.desktop"
}