[arch-commits] Commit in (rtv rtv/repos rtv/trunk rtv/trunk/PKGBUILD)

Alad Wenter alad at archlinux.org
Thu Jan 10 00:18:09 UTC 2019


    Date: Thursday, January 10, 2019 @ 00:18:06
  Author: alad
Revision: 421347

import rtv

Added:
  rtv/
  rtv/repos/
  rtv/trunk/
  rtv/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: rtv/trunk/PKGBUILD
===================================================================
--- rtv/trunk/PKGBUILD	                        (rev 0)
+++ rtv/trunk/PKGBUILD	2019-01-10 00:18:06 UTC (rev 421347)
@@ -0,0 +1,25 @@
+# Maintiner: Alad Wenter <alad at archlinux.org>
+# Contributor: John Jenkins twodopeshaggy at gmail.com
+pkgname=rtv
+pkgver=1.24.0
+pkgrel=2
+pkgdesc="Browse Reddit from your terminal"
+arch=('any')
+url="https://github.com/michael-lazar/rtv"
+license=('custom:MIT')
+makedepends=('python-setuptools')
+depends=('python-beautifulsoup4' 'python-decorator' 
+         'python-kitchen' 'python-six' 'python-requests')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('8a792c6112e27876a48db09c18fe3032734066193d6c79614d7df1b83f48e744')
+
+build() {
+    cd "$pkgname-$pkgver"
+    python setup.py build
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+    install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list