summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 764d15e1bdd92b86f2d5c89dfae8059de216ae35 (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
# Maintainer: Benjamin Böhmke <benjamin at boehmke dot net>
pkgname=emby-theater-bin
pkgver=3.0.12
pkgrel=3
pkgdesc='An Electron app for Emby'
license=('GPL2')
arch=('x86_64')
url=https://github.com/MediaBrowser/emby-theater-electron
provides=("emby-theater")
conflicts=("emby-theater")

depends=("gtk3"
         "libnotify"
         "libnss_nis"
         "libxss"
         "libxtst"
         "xdg-utils"
         "libutil-linux"
         "glib2"
         "gvfs"
         "gvfs-smb"
         "gvfs-nfs")

source=("https://github.com/MediaBrowser/emby-theater-electron/releases/download/${pkgver}/emby-theater_${pkgver}_amd64.deb"
        "emby-theater.install")
sha512sums=("4c1773483cdb3301e6c91e8a4ffba5d831b34a9070db811495acc209406cae208a7677a249a21c0ac4d88032f35d45da621d5a84796b0b0241a31f6995e2bcf8"
            "c5ea75bb99bcabb15afc78106c4fbcc340c5e83246f2835e8b71bdc55768a6216b760366ca9e71796ed6e7c2ad5ee591e9e4acd81d77a46a103551787ce2f374")

package(){
    # Extract package data
    tar xf data.tar.xz -C "${pkgdir}"

    install -D -m644 "${pkgdir}/usr/lib/emby-theater/resources/app/node_modules/validate-npm-package-license/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -D -m644 "${pkgdir}/usr/share/doc/emby-theater/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
}