summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn ShaggyTwoDope Jenkins2015-06-23 01:36:51 -0700
committerJohn ShaggyTwoDope Jenkins2015-06-23 01:36:51 -0700
commit56baba1dce05471cb67fda81f440c1c5ae14fdbc (patch)
tree618b1d3d9fab508b8b562399014bec426fc6da24
downloadaur-56baba1dce05471cb67fda81f440c1c5ae14fdbc.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rwxr-xr-xPKGBUILD21
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a2f1da8bd2d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = rtv
+ pkgdesc = Browse Reddit from your terminal
+ pkgver = 1.4
+ pkgrel = 1
+ url = https://github.com/michael-lazar/rtv
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = python3-kitchen
+ depends = ncurses
+ depends = python
+ depends = python-six
+ depends = python-requests
+ depends = python-praw
+ depends = python-setuptools
+ conflicts = rtv-git
+ source = https://github.com/michael-lazar/rtv/archive/v1.4.tar.gz
+ md5sums = 4dfff139915adb28e60ac53e5e320c97
+
+pkgname = rtv
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..6cc2ac54798
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: John Jenkins twodopeshaggy@gmail.com
+
+pkgname=rtv
+pkgver=1.4
+pkgrel=1
+pkgdesc="Browse Reddit from your terminal"
+arch=('any')
+url="https://github.com/michael-lazar/rtv"
+license=('MIT')
+conflicts=('rtv-git')
+makedepends=('git')
+depends=('python3-kitchen' 'ncurses' 'python' 'python-six' 'python-requests' 'python-praw' 'python-setuptools')
+source=(https://github.com/michael-lazar/rtv/archive/v$pkgver.tar.gz)
+md5sums=('4dfff139915adb28e60ac53e5e320c97')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ install -m 0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/
+}