You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
780 B
26 lines
780 B
# Maintainer: John Jenkins twodopeshaggy@gmail.com |
|
|
|
pkgname=rtv-git |
|
pkgver=r364.a34f91d |
|
pkgrel=1 |
|
pkgdesc="Browse Reddit from your terminal" |
|
arch=('any') |
|
url="https://github.com/michael-lazar/rtv" |
|
license=('MIT') |
|
conflicts=('rtv') |
|
makedepends=('git') |
|
depends=('python-decorator' 'python3-kitchen' 'ncurses' 'python' 'python-six' 'python-requests' 'python-praw-git' 'python-setuptools') |
|
source=('git+https://github.com/michael-lazar/rtv.git') |
|
sha256sums=('SKIP') |
|
|
|
pkgver() { |
|
cd "$srcdir/rtv" |
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" |
|
} |
|
|
|
package() { |
|
cd "$srcdir/rtv" |
|
python setup.py install --root="$pkgdir/" --optimize=1 |
|
mkdir -p $pkgdir/usr/share/licenses/$pkgname |
|
install -m 0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/ |
|
}
|
|
|