summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a0f345d1bb2dd2dd71440399ba6e9e18443840e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Robin McCorkell <robin@mccorkell.me.uk>
pkgname=haxor-news
pkgver=0.4.2
pkgrel=1
pkgdesc="A Hacker News command line interface"
arch=(any)
url="https://github.com/donnemartin/haxor-news"
license=('Apache')
depends=(
  'python'
  'python-click'
  'python-colorama'
  'python-requests'
  'python-pygments'
  'python-prompt_toolkit'
  'python-six'
)
source=(
  "$url/archive/$pkgver.tar.gz"
)

md5sums=('03307fccd2d4eb13b8af57203ec28696')

prepare() {
  cd "$srcdir"/"$pkgname-$pkgver"
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: