summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGiancarlo Razzolini2018-04-20 08:54:14 -0300
committerGiancarlo Razzolini2018-04-20 08:54:14 -0300
commitd453d4dad4ece96a9e75739fd23b76f01cc683b0 (patch)
tree776119528b57830710386f20c353403d67e01c33 /PKGBUILD
downloadaur-streamcurse-git.tar.gz
Initial commit for streamlink-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..44e55141fe9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Giancarlo Razzolini <grazzolini@gmail.com>
+pkgname=streamcurse-git
+pkgver=r19.b71ac57
+pkgrel=1
+pkgdesc="streamcurse is a curses stream launcher, inspired by gapatos livestreamer-curses"
+arch=('any')
+url="https://github.com/RadicalEd360/streamcurse"
+license=('MIT')
+depends=('streamlink')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("git+${url}")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}