summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini2018-04-20 08:54:14 -0300
committerGiancarlo Razzolini2018-04-20 08:54:14 -0300
commitd453d4dad4ece96a9e75739fd23b76f01cc683b0 (patch)
tree776119528b57830710386f20c353403d67e01c33
downloadaur-streamcurse-git.tar.gz
Initial commit for streamlink-git
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..89a6d4dd0f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = streamcurse-git
+ pkgdesc = streamcurse is a curses stream launcher, inspired by gapatos livestreamer-curses
+ pkgver = r19.b71ac57
+ pkgrel = 1
+ url = https://github.com/RadicalEd360/streamcurse
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = streamlink
+ provides = streamcurse
+ conflicts = streamcurse
+ source = git+https://github.com/RadicalEd360/streamcurse
+ md5sums = SKIP
+
+pkgname = streamcurse-git
+
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
+}