diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,14 +1,15 @@ pkgname=toot _name=toot -pkgver=0.21.0 +pkgver=0.38.1 pkgrel=1 pkgdesc="a Mastodon CLI client" -depends=('python-requests' 'python-beautifulsoup4' 'python-wcwidth') +makedepends=('python-setuptools') +depends=('python-requests' 'python-beautifulsoup4' 'python-wcwidth' 'python-urwid' 'python-tomlkit') license=('GPL3') arch=('any') url="https://github.com/ihabunek/toot" -source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz) -sha256sums=('3de89f7b3abed0ef73163ce3114a3fc259b7f8f37168eb6c3b797035992c1bb7') +source=(https://github.com/ihabunek/${_name}/archive/${pkgver}.zip) +sha256sums=('dab271f657f45c6f1ec1dcc5c0a42dbe533f237422d88d8f9b91f8f33a1f56c8') build() { cd "$pkgname-$pkgver" @@ -18,4 +19,7 @@ build() { package() { cd "$pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + + mkdir -p $pkgdir/usr/share/licenses/toot + cp $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/toot/ } |