blob: f4a7c94b3687e92c6aca4981950eb26cc169ba22 (
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
|
# Maintainer: Jason Nader <jason (dot) nader (at) protonmail (dot) com>
pkgname=('lgwebosremote-git')
pkgver=r135.2de8913
pkgrel=1
pkgdesc="Command line webOS remote for LGTVs"
arch=('x86_64')
url="https://github.com/klattimer/LGWebOSRemote"
license=('MIT')
depends=('python-wakeonlan' 'python-ws4py' 'python-requests' 'python-getmac')
makedepends=('git' 'python-setuptools')
source=("${pkgname%-*}::git+https://github.com/klattimer/LGWebOSRemote.git")
provides=("lgtv")
conflicts=("lgtv")
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-*}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${pkgname%-*}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|