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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:52:11 UTC 2019


    Date: Monday, November 4, 2019 @ 07:52:11
  Author: felixonmars
Revision: 523595

archrelease: copy trunk to community-staging-any

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

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

Copied: rtv/repos/community-staging-any/PKGBUILD (from rev 523593, rtv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:52:11 UTC (rev 523595)
@@ -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=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=('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