summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..95f4255ac68
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Jason Nader <jason (dot) nader (at) protonmail (dot) com>
+pkgname=('lgwebosremote-git')
+pkgver=r93.588a301
+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')
+makedepends=('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
+}