summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ed62a283ab43dcfa5cccca4122d28476a8fa9a9 (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: Arne Beer <arne@twobeer.de>

_gitname=mediaqbot
pkgname=${_gitname}-git
pkgver='r35.7e0799d'
pkgrel=1
arch=('any')
pkgdesc='A media scheduler mpv'
license=('MIT')
depends=('mpv' 'youtube-dl' 'python-mpv-git')
conflicts=('mediaqbot')
makedepends=('git' 'python-setuptools')
provides=('mediaqbot')
url='https://github.com/raffomania/mediaqbot'
source=("git+https://github.com/raffomania/mediaqbot.git")
sha256sums=('SKIP')

prepare() {
    cd "${_gitname}"
}

package() {
  cd "${_gitname}/client"
  # Install
  python setup.py install --optimize=1 --root="${pkgdir}"

  cd ../

  # Install MIT License
  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}