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

Alad Wenter alad at archlinux.org
Thu Jan 10 00:22:30 UTC 2019


    Date: Thursday, January 10, 2019 @ 00:22:29
  Author: alad
Revision: 421349

archrelease: copy trunk to community-any

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

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

Copied: rtv/repos/community-any/PKGBUILD (from rev 421348, rtv/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-01-10 00:22:29 UTC (rev 421349)
@@ -0,0 +1,25 @@
+# Maintainer: 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