summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fa8fd8780a04571d8cbabe41c9a26175bd793a1 (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
# 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')
conflicts=('mediaqbot')
makedepends=('git' 'python-setuptools')
provides=('mediaqbot')
url='https://github.com/raffomania/mediaqbot'
source=("git+https://github.com/raffomania/mediaqbot.git")
sha256sums=('SKIP')

package() {
  cd "${_gitname}"
  git submodule update --init --recursive

  cd client
  # Install
  python setup.py install --optimize=1 --root="${pkgdir}"

  cd ../

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