blob: 3fcaaa4ed856c26d30abc4bbfbeb64995c7e4a43 (
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
39
40
41
42
43
44
|
# Maintainer: Daniel Moch <daniel@danielmoch.com>
# Contributor: Drew DeVault <sir@cmpwn.com>
_pkgname=tootstream
pkgname=tootstream-git
pkgver=0.3.4.r3.gfef1e72
pkgrel=3
pkgdesc='Text interface for the Mastodon social network'
provides=('tootstream')
conflicts=('tootstream')
arch=('any')
url='https://github.com/magicalraccoon/tootstream'
license=('MIT')
depends=(
'python-mastodon'
'python-humanize'
'python-click'
'python-colored'
'python-emoji'
'python-http-ece'
)
makedepends=('python-distribute' 'git')
source=("git://github.com/magicalraccoon/${_pkgname}.git")
sha512sums=('SKIP')
pkgver()
{
cd "${srcdir}/${_pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build()
{
cd "${srcdir}/${_pkgname}"
python ./setup.py build
}
package()
{
cd "${srcdir}/${_pkgname}"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ft=PKGBUILD sts=2 sw=2 et
|