summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d88c825d0deabe311eee3aaf2c0a239560c22b5 (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: Matthew Gamble <git@matthewgamble.net>

pkgname=mopidy-alarmclock
pkgver=0.1.9
pkgrel=2
pkgdesc="Mopidy extension using it as an alarm clock."
arch=("any")
url="https://github.com/DavisNT/mopidy-alarmclock"
license=("Apache")
depends=(
    "mopidy"
    "python"
    "python-setuptools"
    "python-pykka"
)
source=("https://pypi.io/packages/source/M/Mopidy-AlarmClock/Mopidy-AlarmClock-${pkgver}.tar.gz")
sha256sums=("8897f29f8621aa8e74ab1d307338df8078a4c9590285e29a93630d958a246ce8")

build() {
    cd "Mopidy-AlarmClock-${pkgver}"

    python setup.py build
}

package() {
    cd "Mopidy-AlarmClock-${pkgver}"

    PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build

    install -Dm644 README.rst "${pkgdir}/usr/share/doc/mopidy-alarmclock/README.rst"
}