[arch-commits] Commit in rtv/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 18:34:34 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:34:34
  Author: foutrelis
Revision: 753122

archrelease: copy trunk to community-staging-any

Added:
  rtv/repos/community-staging-any/
  rtv/repos/community-staging-any/PKGBUILD
    (from rev 753121, rtv/trunk/PKGBUILD)

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

Copied: rtv/repos/community-staging-any/PKGBUILD (from rev 753121, rtv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:34:34 UTC (rev 753122)
@@ -0,0 +1,24 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Contributor: John Jenkins twodopeshaggy at gmail.com
+pkgname=rtv
+pkgver=1.27.0
+pkgrel=3
+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=('c57a6cbb2525160b6aaa9180aec0293962b6969675f8ac0f2cfacff3cbd00d7c')
+
+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