summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea6e4e3a58e3bdc9c5014dca1405470adfafc40c (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
58
59
60
# Maintainer: Artem Stasyuk <stasyukartem2@gmail.com>
pkgname=onetagger-bin
pkgver=1.7.0
pkgrel=2
pkgdesc="The ultimate cross-platform tagger for DJs"
arch=('x86_64')
url="https://onetagger.github.io/"
license=('GPL3')
depends=(
    'webkit2gtk'
    'gtk3'
    'glib2'
    'glibc'
    'alsa-lib'
    'gcc-libs'
    'libepoxy'
    'fontconfig'
    'freetype2'
    'libwebp'
    'icu'
    'systemd'
    'libjpeg-turbo'
    'libpng'
    'sqlite'
    'pango'
    'harfbuzz'
    'atk'
    'cairo'
    'libxml2'
    'libxslt'
    'lcms2'
    'woff2'
    'libgcrypt'
    'gstreamer'
    'gst-plugins-base'
    'libdrm'
    'wayland'
    'enchant'
    'libsecret'
    'libx11'
)
optdepends=(
    'gst-plugins-good: For good GStreamer plugins'
    'gst-plugins-bad: For additional GStreamer plugins'
)
conflicts=('onetagger')
source=("https://github.com/Marekkon5/onetagger/releases/download/1.7.0/OneTagger-linux.tar.gz"
        "onetagger.png"
        "onetagger.desktop")
sha256sums=('dc0ddfa604c24fdceeb533adcff2a559f060d68d985236c3270408a541753bd6'
            '6a0ecc9b2f8d4f2ebb7f168c3158feadaa0a391837034df8856a0c0bde3219aa'
            '308891e4556f602afedfbc5bd9c0ef35b49ff56329cb53ffeb870017b52cbf3d')

package() {
    mkdir -p "$pkgdir/usr/bin"
    tar -xzf "$srcdir/OneTagger-linux.tar.gz" -C "$pkgdir/usr/bin"
    chmod +x "$pkgdir/usr/bin/onetagger"
    install -Dm 644 "${srcdir}/onetagger.png" -t "${pkgdir}/usr/share/pixmaps/"
    install -Dm 644 "${srcdir}/onetagger.desktop" -t "${pkgdir}/usr/share/applications/"
}